NAME

cxGeoTextDefine - define a new text object
#include <cx/Geometry.h>

cxGeo cxGeoTextDefine( const char *text, const char *font)
integer function cxGeoTextDefine(text,font)
character *(*) text
character *(*) font
text
The character string to be shown.
font
The X font to use in the string.
This function creates a text object. An X font may optionally be specified (pass NULL otherwise).

The object may have its position changed by applying transforms, but its scale will always be fixed and its orientation will always be in the plane of the screen.

Valid attributes are colors and transparencies. Attribute distribution may be CX_GEO_PER_OBJECT only.


Last modified: Mon Nov 6 16:33:20 GMT 2000
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1996