Up: GEOS SDK TechDocs | Up | Prev: GrSDivDWFByWWF() ... | Next: GrSetLineAttr() ...

GrSetClipPath()

void	GrSetClipPath(
        GStateHandle 		gstate,				/* subject GState */
        PathCombineType 		params,				/* how paths should be combined */
        RegionFillRule 		rule);				/* ODD_EVEN or WINDING */

Restrict the clipping region by intersecting it with the passed path.

Include: graphics.h

GrSetClipRect()

void	GrSetClipRect(
        GStateHandle 		gstate,				/* subject GState */
        PathCombineType		flags,				/* how paths should be combined */
        sword		left,				/* bounds of clipping rectangle */
        sword		top,
        sword		right,
        sword		bottom);

Restrict the clipping region by intersecting it with the passed rectangle.

Include: graphics.h

GrSetCustomAreaPattern()

void 	GrSetCustomAreaPattern(
        GStateHandle 		gstate,				/* subject GState */
        GraphicPattern 		pattern,				/* new area pattern */
        const void 	*	patternData,				/* pointer to pattern data */
        word		patternSize); /* size of pattern data buffer */

Set the graphics pattern to use when filling areas.

Include: graphics.h

GrSetCustomTextPattern()

void 	GrSetCustomTextPattern(
        GStateHandle 		gstate,					/* subject GState */
        GraphicPattern		pattern,					/* new pattern */
        const void 		* patternData		);			/* pointer to pattern data */

Set the graphic pattern used when drawing text.

Include: graphics.h

GrSetDefaultTransform()

void	GrSetDefaultTransform(
        GStateHandle gstate);				/* subject GState */

Replace the current coordinate transformation with the default transformation.

Include: graphics.h

GrSetFont()

void	GrSetFont(
        GStateHandle 		gstate,				/* subject GState */
        FontID 		id,				/* new font ID */
        WWFixedAsDWord 		pointSize);				/* new point size */

Set the font to use when drawing text.

Include: graphics.h

GrSetFontWeight()

void	GrSetFontWeight(
        GStateHandle 		gstate,				/* subject GState */
        FontWeight 		weight);				/* new font weight */

Set the font weight to use when drawing text.

Include: font.h

GrSetFontWidth()

void	GrSetFontWidth(
        GStateHandle 		gstate,				/* subject GState */
        FontWidth 		width);				/* new font width */

Set the font width to use when drawing text.

Include: font.h

GrSetGStringBounds()

void	GrSetGStringBounds(
        Handle		gstate,				/* GState or GString handle */
        sword		left,				/* new bounds of GString */
        sword		top,
        sword		right,
        sword		bottom);

Optimization routine which allows you to set bounds values for a GString. This bounds information will be returned by GrGetGStringBounds() whenever that routine is called upon the affected GString.

Include: graphics.h

GrSetGStringPos()

void	GrSetGStringPos(
        GStateHandle		gstate,				/* subject GState */
        GStringSetPosType		type,				/* how to set position */
        word		skip);				/* number of elements to skip */

Set a graphics strings' "playing position." Using this routine, it is possible to draw only selected elements of a GString.

Structures:

typedef ByteEnum GStringSetPosType;
/*	GSSPT_SKIP, 
	GSSPT_RELATIVE, 
	GSSPT_BEGINNING,
	GSSPT_END		*/

Include: gstring.h


Up: GEOS SDK TechDocs | Up | Prev: GrSDivDWFByWWF() ... | Next: GrSetLineAttr() ...