cxGeoPlotTextDefine - adds a title to the current geometry buffer
#include <cx/Geometry.h> enum cxGeoPlotTextAlign { CX_GEO_PLOT_TEXT_LEFT, CX_GEO_PLOT_TEXT_RIGHT, CX_GEO_PLOT_TEXT_CENTER, }; cxGeo cxGeoPlotTextDefine ( char *text, char *font, float size, cxGeoPlotTextAlign just)
cxGeoPlotTextDefine returns a tag for the geometry object that may be used to reference it at a later time with cxGeoFocus(3E).
This function adds the geometric representation of a string to the current geometry buffer, at a location in (x,y) space which makes it convenient to be used as a title for a plot created using cxGeoPlotDefine (3E). The parameters set the contents, X font name (passing NULL causes the default font to be used) and size of the string, together with the justification of the text.
cxGeoPlotDefine (3E), cxGeoFocus (3E)
The source of the LineGraph module may be found at $EXPLORERHOME/src/LineGraph/linegraph.c (UNIX) and %EXPLORERHOME%\src\LineGraph\linegraph.c (NT). It illustrates the use of many of the cxGeoPlot* routines.
Last modified: Aug 04 17:06 1999
[ Documentation Home ]