#define GSFillBitmap(x_w,y_w,bsize_w) \
GR_FILL_BITMAP,GOC_SW(x_w), \
GOC_SW(y_w),GOC_WORD(bsize_w)
This
GString
creation macro draws a bitmap using the area-filling color. It will draw the bitmap at the passed coordinates; the macro's final argument is the size of the bitmap's data. Following the macro you should place the bitmap's data: first a Bitmap structure, then a number of bytes containing the mask and color values for the bitmap.
Include: gstring.h
#define GSFillBitmapAtCP(bsize_w) \
GR_FILL_BITMAP_CP, GOC_WORD(bsize_w)
This
GString
creation macro draws a bitmap using the area-filling color at the current position. It takes one argument, the size of the bitmap's data. Following the macro you should place the bitmap's data: first a Bitmap structure, then a number of bytes containing the mask and color values for the bitmap.
Include: gstring.h
#define GSFillBitmapOptr(x_w,y_w,o_ptr) \
GR_FILL_BITMAP_OPTR,GOC_SW(x_w),GOC_SW(y_w),GOC_OPTR(o_ptr)
This
GString
creation macro draws a bitmap using the area-filling color. It does so at the passed coordinates; the bitmap's data should be stored in the chunk referenced by the passed optr.
Include: gstring.h
#define GSFillEllipse(x1_w,y1_w,x2_w,y2_w) \
GR_FILL_ELLIPSE,GOC_SW(x1_w),GOC_SW(y1_w), \
GOC_SW(x2_w),GOC_SW(y2_w)
This
GString
creation macro draws a filled ellipse. It takes four arguments, the bounding coordinates of the ellipse.
Include: gstring.h
#define GSFillPath(region_fill_rule) \
GR_FILL_PATH,(region_fill_rule)
This
GString
creation macro fills the current path using the passed
RegionFillRule
value.
Include: gstring.h
#define GSFillPolygon(count_w,fillrule_enum) \
GR_FILL_POLYGON,GOC_WORD(count_w),(fillrule_enum)
This
GString
creation macro draws a filled polygon. It takes two arguments, the number of points in the polygon and a
RegionFillRule
value. This macro should be followed by the points of the polygon, each passed via a GOC_POINT macro.
Include: gstring.h
#define GSFillRect(x1_w,y1_w,x2_w,y2_w) \
GR_FILL_RECT,GOC_SW(x1_w),GOC_SW(y1_w), \
GOC_SW(x2_w),GOC_SW(y2_w)
This
GString
creation macro draws a filled rectangle. The macro takes four arguments, the bounds of the rectangle.
Include: gstring.h
#define GSFillRectTo(x2_w,y2_w) \
GR_FILL_RECT_TO ,GOC_SW(x2_w),GOC_SW(y2_w)
This
GString
creation macro draws a filled rectangle with the current position defining one corner and the opposite corner defined by the passed coordinates.
Include: gstring.h
#define GSFillRoundRect(x1_w,y1_w,x2_w,y2_w,r_w) \
GR_FILL_ROUND_RECT,GOC_WORD(r_w),GOC_SW(x1_w), \
GOC_SW(y1_w),GOC_SW(x2_w), \
GOC_SW(y2_w)
This
GString
creation macro draws a filled rounded rectangle. It takes five arguments; the first four give the bounding coordinates of the rectangle; the final argument is the corner radius.
Include: gstring.h
#define GSFillRoundRectTo(x2_w,y2_w,r_w) \
GR_FILL_ROUND_RECT_TO,GOC_WORD(r_w),GOC_SW(x2_w), GOC_SW(y2_w)
This
GString
creation macro draws a filled rounded rectangle. The rectangle's bounding coordinates are defined by the the current position and the two passed coordinates; its corner radius is defined by the macro's final argument.
Include: gstring.h
#define GSInitDefaultTransform() \
GR_INIT_DEFAULT_TRANSFORM
This
GString
creation macro initializes the GState's default transformation to hold the value of the current coordinate transformation.
Include: gstring.h
#define GSLabel(w) \
GR_LABEL, GOC_WORD(w)
This
GString
definition macro creates a label in the GString. This macro takes one argument, a word which acts as the label's token. By passing GSC_LABEL to
GrDrawGString()
or another GString-traversing command, you may use this label as something analogous to the label used by a goto command.
Include: gstring.h
GEOS SDK TechDocs
|
|
GSDrawSpline() ...
|
GSMoveTo() ...