void GrSDivDWFByWWF(
const DWFixed * dividend,
const WWFixed * divisor,
DWFixed * quotient) /* returned value */
Divide two fixed point numbers.
Include: graphics.h
WWFixedAsDWord GrSDivWWFixed(
WWFixedAsDWord dividend,
WWFixedAsDWord divisor)
Divide two fixed point numbers.
Include: graphics.h
void GrSetAreaAttr(
GStateHandle gstate, /* subject GState */
const AreaAttr * aa); /* AreaAttr structure */
Set all of the attributes used when filling areas.
Include: graphics.h
void GrSetAreaColor(
GStateHandle gstate, /* GState to set color for */
ColorFlag flag, /* flag of how to set color */
word redOrIndex, /* color index or red RGB value */
word green, /* green RGB value or zero */
word blue); /* blue RGB value or zero */
Set the color to use when filling areas. The flag parameter may be CF_RGB (to set RGB values), CF_INDEX (to set a palette index), CF_GRAY, or CF_SAME.
Include: graphics.h
void GrSetAreaColorMap(
GStateHandle gstate, /* subject GState */
ColorMapMode colorMap); /* color mapping mode */
Set mode to use when trying to fill an area with an unavailable color.
Include: graphics.h
void GrSetAreaMaskCustom(
GStateHandle gstate, /* subject GState */
const DrawMask * dm); /* pointer to new custom mask */
Set the drawing mask to use when filling areas.
Include: graphics.h
void GrSetAreaMaskSys(
GStateHandle gstate, /* subject GState */
SystemDrawMask sysDM); /* new system area mask */
Set the drawing mask to use when filling areas.
Include: graphics.h
void GrSetAreaPattern(
GStateHandle gstate, /* subject GState */
GraphicPattern pattern); /* new pattern */
Set the graphics pattern to use when filling areas.
Include: graphics.h
void GrSetBitmapMode(
GStateHandle gstate, /* subject GState */
word flags, /* BM_EDIT_MASK or BM_CLUSTERED_DITHER */
MemHandle colorCorr); /* handle of ColorTransfer */
Set the bitmap editing mode. This allows the editing of a bitmap's mask, or turning on clustered dithering.
Include: graphics.h
Boolean GrSetBitmapRes(
GStateHandle gstate, /* subject GState */
word xRes, /* new resolutions */
word yRes);
Set a complex bitmap's resolution.
Include: graphics.h
GEOS SDK TechDocs
|
|
GrNewPage() ...
|
GrSetClipPath() ...