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

GrGetLineMask()

SysDrawMask GrGetLineMask(
        GStateHandle		gstate,			/* subject GState */
        DrawMask		* dm);			/* buffer for returned custom mask */

Get the drawing mask used when drawing lines. 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

GrGetLineStyle()

LineStyle GrGetLineStyle(
        GStateHandle gstate);				/* subject GState */

Get the style, or "dottedness," used when drawing lines.

Include: graphics.h

GrGetLineWidth()

WWFixedAsDWord 	GrGetLineWidth(
        GStateHandle gstate);				/* subject GState */

Get the current line width.

Include: graphics.h

GrGetMaskBounds()

void	GrGetMaskBounds(
        GStateHandle		gstate,				/* subject GState */
        Rectangle		* bounds);				/* buffer for returned bounds */

Get the 16-bit bounds of the current clip rectangle.

Include: graphics.h

GrGetMaskBoundsDWord()

void	GrGetMaskBoundsDWord(
        GStateHandle		gstate,				/* subject GState */
        RectDWord		* bounds);				/* buffer for returned bounds */

Get the 16-bit bounds of the current clip rectangle, accurate to a fraction of a point.

Include: graphics.h

GrGetMiterLimit()

WWFixedAsDWord GrGetMiterLimit(
        GStateHandle gstate);						/* subject GState */

Get the miter limit to use when drawing mitered corners.

Include: graphics.h

GrGetMixMode()

MixMode GrGetMixMode(
        GStateHandle gstate);					/* subject GState */

Get the current mixing mode.

Include: graphics.h

GrGetPalette()

MemHandle GrGetPalette(
        GStateHandle		gstate,					/* subject GState */
        GetPalType		flag,					/* GPT_ACTIVE, GPT_CUSTOM, or
							 * GPT_DEFAULT */
        word	 	* numEntries);					/* number of entries in block */

Return all or part of the window's color lookup table. This routine returns the handle of a block containing all the returned palette entries.

Include: graphics.h

GrGetPath()

MemHandle 	GrGetPath(
        GStateHandle		gstate,				/* subject GState */
        GetPathType 		ptype);				/* Which path to retrieve */

Returns handle to block containing path data. Either the current path, the clipping path, or the window clipping path may be retrieved.

Include: graphics.h

GrGetPathBounds()

Boolean	GrGetPathBounds(
        GStateHandle		gstate,				/* subject GState */
        GetPathType 		ptype,
        Rectangle		* bounds);				/* buffer for returned bounds */

Returns the rectangular bounds that encompass the current path as it would be filled. A true return value indicates an error occurred or there was no path for the GState.

Include: graphics.h

GrGetPathBoundsDWord()

Boolean	GrGetPathBoundsDWord(
        GStateHandle		gstate,				/* subject GState */
        GetPathType		ptype,
        RectDWord		* bounds);				/* buffer for returned bounds */

Returns the rectangular bounds that encompass the current path as it would be filled. A true return value indicates an error occurred or there was no path for the GState.

Include: graphics.h

GrGetPathPoints()

MemHandle 	GrGetPathPoints(
        GStateHandle		gstate,					/* subject GState */
        word		resolution);					/* dots per inch */

Returns a series of points that fall along the current path. The returned points are in document coordinates.

Include: graphics.h

GrGetPathRegion()

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

Get the region enclosed by a path.

Include: graphics.h

GrGetPoint()

RGBColorAsDWord GrGetPoint(
        GStateHandle		gstate,			/* subject GState */
        sword		x,			/* coordinates of pixel */
        sword		y);

Get the color of the pixel corresponding to the specified coordinates.

Include: graphics.h


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