Up: GEOS SDK TechDocs | Up | Prev: GrFillEllipse() ... | Next: GrGetDefFontID() ...

GrGetAreaColor()

RGBColorAsDWord 	GrGetAreaColor(
        GStateHandle gstate);			/* GState of which to get color */

Get the color which is being used to fill areas.

Include: graphics.h

GrGetAreaColorMap()

ColorMapMode GrGetAreaColorMap(
        GStateHandle gstate);				/* GState of which to get area color map */

Get the mapping mode used for filling areas with unavailable colors.

Include: graphics.h

GrGetAreaMask()

SysDrawMask GrGetAreaMask(
        GStateHandle		gstate,			/* GState of which to get mask */
        DrawMask		* dm);			/* buffer for returned mask */

Get the draw mask used when filling areas. The dm argument should point to a buffer capable of holding at least eight bytes to get the bit-pattern of the mask; otherwise dm should be NULL. The returned buffer is the 8x8 bit pattern: each byte represents a row of the pattern, and the bytes are ordered from top row to bottom.

Include: graphics.h

GrGetAreaPattern()

GraphicPattern 	GrGetAreaPattern(
        GStateHandle 		gstate,					/* GState of area pattern */
        const MemHandle		* customPattern,					/* pointer to handle of block for
						 	 * returned custom pattern */
        word 		* customSize);					/* pointer to size of returned
							 * buffer */

Get the area pattern used when filling areas.

Include: graphics.h

GrGetBitmap()

MemHandle GrGetBitmap(
        GStateHandle		gstate,					/* GState containing bitmap */
        sword		x,					/* bitmap origin */
        sword		y,
        word		width,					/* bitmap width and height */
        word		height,
        XYSize	 	* sizeCopied);					/* buffer for returned size */

Dump an area of the display to a bitmap. The handle of a block containing the bitmap is returned; the sizeCopied pointer points to the actual size of the bitmap successfully copied.

Include: graphics.h

GrGetBitmapMode()

BitmapMode 	GrGetBitmapMode(
        GStateHandle gstate);				/* GState containing bitmap */

Get mode bits for an editable bitmap.

Include: graphics.h

GrGetBitmapRes()

XYValueAsDWord GrGetBitmapRes(
        const Bitmap		* bm);				/* pointer to the bitmap */

Get the resolution of a bitmap.

Include: graphics.h

GrGetBitmapSize()

XYValueAsDWord GrGetBitmapSize(
        const	Bitmap	* bm);				/* pointer to the bitmap */

Get the dimensions, in points, of a bitmap.

Include: graphics.h

GrGetClipRegion()

MemHandle GrGetClipRegion(
        GStateHandle		gstate,			/* subject GState */
        RegionFillRule		rule);			/* ODD_EVEN or WINDING */

Get the current clip region. A null handle (zero) will be returned if no clip paths are se for the GState.

Include: graphics.h

GrGetCurPos()

XYValueAsDWord GrGetCurPos(
        GStateHandle gstate);				/* subject GState */

Get the current pen position.

Include: graphics.h

GrGetCurPosWWFixed()

void GrGetCurPosWWFixed(
        GStateHandle gstate,				/* subject GState */
        PointWWFixed 	*cp);			/* buffer in which to return cur. pos. */

Get the current pen position.

Include: graphics.h


Up: GEOS SDK TechDocs | Up | Prev: GrFillEllipse() ... | Next: GrGetDefFontID() ...