word GrGetPtrRegBounds( /* Returns size of Region data struct. */
const Region * reg, /* pointer to region */
Rectangle * bounds); /* returned bounds of region */
Get the bounds of the passed region.
Include: graphics.h
ScriptAttrAsWord GrGetSubscriptAttr(
GStateHandle gstate); /* subject GState */
Get the GState's subscript drawing attributes. The high byte of the return value is the percentage of the font size for the subscript; the low byte is the percentage of the font size from the top at which the character gets drawn.
Include: font.h
ScriptAttrAsWord GrGetSuperscriptAttr(
GStateHandle gstate); /* subject GState */
Get the GState's superscript drawing attributes. The high byte of the return value is the percentage of the font size for the superscript; the low byte is the percentage of the font size from the bottom at which the character gets drawn.
Include: font.h
Boolean GrGetTextBounds(
GStateHandle gstate, /* subject GState */
const char * str, /* text string */
word xpos, /* position where text would be drawn */
word ypos,
word count, /* max number of characters to check */
Rectangle * bounds); /* returned bounding rectangle */
Get the bounds required to draw the passed text. If the passed
count
argument is zero, the string is assumed to be null-terminated.
Include: graphics.h
RGBColorAsDWord GrGetTextColor(
GStateHandle gstate); /* subject GState */
Get the color used when drawing text.
Include: graphics.h
ColorMapMode GrGetTextColorMap(
GStateHandle gstate); /* subject GState */
Get the mode used when drawing text in an unavailable color.
Include: graphics.h
SystemDrawMask GrGetTextMask(
GStateHandle gstate, /* subject GState */
DrawMask * dm); /* returned custom mask, if any */
Get the draw mask used when drawing text.The dm argument should point to a buffer capable of holding at least eight bytes to get the bit-pattern of the mask; otherwise dm should be NULL. The returned buffer is the 8x8 bit pattern: each byte represents a row of the pattern, and the bytes are ordered from top row to bottom.
Include: graphics.h
TextMode GrGetTextMode(
GStateHandle gstate); /* subject GState */
Get the text mode, including information about the vertical offset used when drawing text.
Include: graphics.h
GraphicPattern GrGetTextPattern(
GStateHandle gstate, /* subject GState */
const MemHandle * customPattern, /* pointer to returned handle
* of block containing the
* returned pattern */
word * customSize); /* size of returned block */
Get the graphics pattern used when drawing text.
Include: graphics.h
WWFixedAsDWord GrGetTextSpacePad(
GStateHandle gstate); /* subject GState */
Get the space pad used when drawing strings of text.
Include: graphics.h
TextStyle GrGetTextStyle(
GStateHandle gstate); /* subject GState */
Get the style used when drawing text.
Include: graphics.h
word GrGetTrackKern(
GStateHandle gstate); /* subject GState */
Get the track kerning used when drawing strings of text.
Include: graphics.h
void GrGetTransform(
GStateHandle gstate, /* subject GState */
TransMatrix * tm); /* pointer to returned TransMatrix */
Get the current coordinate transformation, expressed as a matrix.
Include: graphics.h
void GrGetWinBounds(
GStateHandle gstate, /* subject GState */
Rectangle * bounds); /* returned window bounds */
Get the bounds of the GState's associated window.
Include: graphics.h
void GrGetWinBoundsDWord(
GStateHandle gstate, /* subject GState */
RectDWord * bounds); /* returned window bounds */
Get the bounds of the GState's associated window, accurate to a fraction of a point.
Include: graphics.h
WindowHandle GrGetWinHandle(
GStateHandle gstate); /* subject GState */
Get the handle of the GState's associated window.
Include: graphics.h
GStateHandle GrGrabExclusive(
GeodeHandle videoDriver, /* NULL for default */
GStateHandle gstate); /* subject GState */
Start drawing exclusively to a video driver.
Include: graphics.h
GEOS SDK TechDocs
|
|
GrGetLineMask() ...
|
GrInitDefaultTransform() ...