NAME

cxGeoStyleAdd - add a drawing style to the current geometry object
#include <cx/Geometry.h>

enum cxGeoStyleType { CX_GEO_STYLE_IGNORE, CX_GEO_STYLE_FILLED, CX_GEO_STYLE_LINES, CX_GEO_STYLE_POINTS, CX_GEO_STYLE_INVISIBLE };
void cxGeoStyleAdd( cxGeoStyleType type, short lineWidth)
integer CX_GEO_STYLE_IGNORE
integer CX_GEO_STYLE_FILLED
integer CX_GEO_STYLE_LINES
integer CX_GEO_STYLE_POINTS
integer CX_GEO_STYLE_INVISIBLE

parameter (CX_GEO_STYLE_IGNORE = 0) parameter (CX_GEO_STYLE_FILLED = 1) parameter (CX_GEO_STYLE_LINES = 2) parameter (CX_GEO_STYLE_POINTS = 3) parameter (CX_GEO_STYLE_INVISIBLE = 4)
subroutine cxGeoStyleAdd(type,lineWidth) integer n integer lineWidth
type
The style of drawing.
lineWidth
A line width in pixels.
This function adds a particular drawing style to the current object. The current object is the primitive or pushed transform most recently defined, or it may be explicitly set with cxGeoFocus(3E).

Colors may be applied in different ways, depending on the setting of the per flag:

CX_GEO_STYLE_IGNORE
whatever style is currently in effect will be used.
CX_GEO_STYLE_FILLED
objects will be drawn with filled polygons.
CX_GEO_STYLE_LINES
objects will be drawn in wireframe.
CX_GEO_STYLE_POINTS
objects will be drawn with vertices only.
CX_GEO_STYLE_INVISIBLE
objects will not be drawn
cxGeoFocus(3E)
Last modified: Mon Nov 6 16:33:19 GMT 2000
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1996