void GrInitDefaultTransform(
GStateHandle gstate); /* subject GState */
Initialize the GState's default transformation to hold the value of the current transformation.
Include: graphics.h
void GrInvalRect(
GStateHandle gstate, /* subject GState */
sword left, /* bounds to be invalidated */
sword top,
sword right,
sword bottom);
Invalidate the passed rectangular area. This area will be redrawn.
Include: graphics.h
void GrInvalRectDWord(
GStateHandle gstate, /* subject GState */
const RectDWord * bounds); /* bounds to be invalidated */
Invalidate the passed rectangular area. This area will be redrawn.
Include: graphics.h
void GrLabel(
GStringHandle gstate, /* subject GState */
word label); /* label to write to GString */
Write the passed label into the passed GString.
Include: gstring.h
GStringHandle GrLoadGString(
Handle han, /* handle of GString source */
GStringType hanType, /* handle type */
word vmBlock); /* if VM file, handle of VM block */
Load a graphics string from a file. Used with stream, VM, and pointer addressed GStrings.
When done with the GString, you may free it via
GrDestroyGString()
.
Include: gstring.h
RGBColorAsDWord GrMapColorIndex(
GStateHandle gstate, /* GState to use for mapping */
Color c); /* source color to be mapped */
Map a color index to its RGB equivalent using the color mapping scheme of the passed GState.
Include: graphics.h
RGBColorAsDWord GrMapColorRGB(
GStateHandle gstate, /* GState to use for mapping */
word red, /* RGB values to map */
word green,
word blue);
Map an RGB color to an index.
Include: graphics.h
void GrMoveReg(
Region * reg, /* pointer to region */
sword xOffset, /* amount to shift horizontally */
sword yOffset); /* amount to shift vertically */
Moves a region a given amount. Note that this operation affects only the region's data structure. The region must be redrawn or used in some other way for the changes to have any visible effect.
Include: graphics.h
void GrMoveTo(
GStateHandle gstate, /* subject GState */
sword x, /* new absolute pen position */
sword y);
Change the pen position.
Include: graphics.h
void GrMoveToWWFixed(
GStateHandle gstate,
WWFixedAsDWord x,
WWFixedAsDWord y);
This routine changes the pen position very precisely.
void GrMulDWFixed(
const DWFixed * i, /* first number */
const DWFixed * j, /* second number */
DWFixed * result); /* pointer to returned result */
Multiply two fixed point numbers.
Include: graphics.h
WWFixedAsDWord GrMulWWFixed(
WWFixedAsDWord i, /* first number */
WWFixedAsDWord j); /* second number */
Multiply two fixed point numbers.
Include: graphics.h
GEOS SDK TechDocs
|
|
GrGetPtrRegBounds() ...
|
GrNewPage() ...