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
void GrSetTextPattern(
GStateHandle gstate, /* subject GState */
GraphicPattern pattern); /* new graphic pattern for text */
Set the graphic pattern used when drawing text.
Include: graphics.h
void GrSetTextSpacePad(
GStateHandle gstate, /* subject GState */
WWFixedAsDWord padding); /* new space padding */
Set the space pad used when drawing text strings.
Include: graphics.h
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
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
void GrSetTransform(
GStateHandle gstate, /* subject GState */
const TransMatrix * tm); /* new transformation matrix */
Set the GState's coordinate transformation.
Include: graphics.h
void GrSetVMFile(
GStateHandle gstate, /* subject GState */
VMFileHandle vmFile); /* new transformation matrix */
with certain kinds of bitmaps and GStrings).
Include: graphics.h
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
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
WWFixedAsDWord GrSqrRootWWFixed(
WWFixedAsDWord i); /* number to get the square root of */
Compute the square root of a fixed point number.
Include: graphics.h
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
GEOS SDK TechDocs
|
|
GrSetPalette() ...
|
GrTestPointInPath() ...