Up: GEOS SDK TechDocs | Up | Prev: GrSetPalette() ... | Next: GrTestPointInPath() ...

GrSetTextMode()

void	GrSetTextMode(
        GStateHandle		gstate,					/* subject GState */
        TextMode 		bitsToSet,					/* TextMode flags to set */
        TextMode 		bitsToClear);					/* TextMode flags to clear */

Set the text mode associated with a GState. Using this routine, it is possible to change the vertical offset used when drawing text.

Include: graphics.h

GrSetTextPattern()

void 	GrSetTextPattern(
        GStateHandle 		gstate,				/* subject GState */
        GraphicPattern 		pattern);				/* new graphic pattern for text */

Set the graphic pattern used when drawing text.

Include: graphics.h

GrSetTextSpacePad()

void	GrSetTextSpacePad(
        GStateHandle		gstate,				/* subject GState */
        WWFixedAsDWord		padding);				/* new space padding */

Set the space pad used when drawing text strings.

Include: graphics.h

GrSetTextStyle()

void	GrSetTextStyle(
        GStateHandle		gstate,				/* subject GState */
        TextStyle 		bitsToSet,				/* TextStyle flags to set */
        TextStyle		bitsToClear);				/* TextStyle flags to clear */

Set the style to use when drawing text.

Include: graphics.h

GrSetTrackKern()

void	GrSetTrackKern(
        GStateHandle		gstate,				/* subject GState */
        word		tk);				/* degree of track kerning */

Set the track kerning to use when drawing text strings.

Include: graphics.h

GrSetTransform()

void	GrSetTransform(
        GStateHandle		gstate,				/* subject GState */
        const TransMatrix 		* tm);				/* new transformation matrix */

Set the GState's coordinate transformation.

Include: graphics.h

Update the VM file associated with a GState (this may apply when working

GrSetVMFile()

void	GrSetVMFile(
        GStateHandle		gstate,				/* subject GState */
        VMFileHandle 		vmFile);				/* new transformation matrix */

with certain kinds of bitmaps and GStrings).

Include: graphics.h

GrSetWinClipPath()

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

Restrict the window's clipping region by intersecting it with the passed path.

Include: graphics.h

GrSetWinClipRect()

void	GrSetWinClipRect(
        GStateHandle		gstate,				/* subject GState */
        PathCombineType		flags,				/* how paths are combined */
        sword		left,				/* new clipping rectangle bounds */
        sword		top,
        sword		right,
        sword		bottom);

Restrict the window's clipping region by intersecting it with the passed rectangle.

Include: graphics.h

GrSqrRootWWFixed()

WWFixedAsDWord GrSqrRootWWFixed(
        WWFixedAsDWord i);			/* number to get the square root of */

Compute the square root of a fixed point number.

Include: graphics.h

GrTestPath()

Boolean	GrTestPath(
        GStateHandle		gstate,				/* subject GState */
        GetPathType		ptype);				/* Type of path to check for */

Determine whether the GState has a path of the specified type.

Include: graphics.h


Up: GEOS SDK TechDocs | Up | Prev: GrSetPalette() ... | Next: GrTestPointInPath() ...