Up: GEOS SDK TechDocs | Up | Prev: GrSetLineAttr() ... | Next: GrSetTextMode() ...

GrSetPalette()

void	GrSetPalette(
        GStateHandle 		gstate,				/* subject GState */
        SetPalType 		type,				/* SPT_DEFAULT or SPT_CUSTOM */
        const RGBValue 		*buffer,				/* array of palette entries */
        word		index, 				/* First element to change */
        word		numEntries);				/* number of entries in array */

Set one or more entries in a palette, a window's color lookup table.

Include: graphics.h

GrSetPaletteEntry()

void	GrSetPaletteEntry(
        GStateHandle 		gstate,				/* subject GState */
        word		index,				/* index in palette to set */
        word		red,				/* new RGB color values for entry */
        word		green,
        word		blue);

Set one entry in a palette, a GState's color lookup table.

Include: graphics.h

GrSetPrivateData()

void	GrSetPrivateData(
        GStateHandle		gstate,				/* subject GState */
        word		dataAX,				/* data to set */
        word		dataBX,
        word		dataCX,
        word		dataDX);

Set the private data for a GState.

Include: graphics.h

GrSetStrokePath()

void	GrSetStrokePath(
        GStateHandle gstate);				/* subject GState */

Replace a GState's path with the path resulting from stroking the original path. Note that this stroked path may be drawn, but may not be used for clipping.

Include: graphics.h

GrSetSubscriptAttr()

void 	GrSetSubscriptAttr(
        GStateHandle 		gstate,				/* subject GState */
        ScriptAttrAsWord 		attrs);				/* new subscript percentages */

Get the attributes used when drawing subscript characters.

Include: font.h

GrSetSuperscriptAttr()

void 	GrSetSuperscriptAttr(
        GStateHandle 		gstate,				/* subject GState */
        ScriptAttrAsWord 		attrs);				/* new superscript percentages */

Get the attributes used when drawing superscript characters.

Include: font.h

GrSetTextAttr()

void	GrSetTextAttr(
        GStateHandle		gstate,				/* subject GState */
        const	TextAttr	* ta);				/* pointer to text attributes */

Set all attributes used when drawing characters and text strings.

Include: graphics.h

GrSetTextColor()

void	GrSetTextColor(
        GStateHandle		gstate,				/* subject GState */
        ColorFlag		flag,				/* color flag */
        word		redOrIndex,				/* palette index or red RGB value */
        word		green,				/* green RGB value or zero */
        word		blue);				/* blue RGB value or zero */

Set the color used when drawing text.

Include: graphics.h

GrSetTextColorMap()

void	GrSetTextColorMap(
        GStateHandle		gstate,				/* subject GState */
        ColorMapMode 		colorMap);				/* new color mapping mode */

Set the mode used when trying to draw text in an unavailable color.

Include: graphics.h

GrSetTextMaskCustom()

void	GrSetTextMaskCustom(
        GStateHandle		gstate,				/* subject GState */
        const	DrawMask	* dm);				/* pointer to custom mask */

Set the drawing mask used when drawing text.

Include: graphics.h

GrSetTextMaskSys()

void	GrSetTextMaskSys(
        GStateHandle		gstate,				/* subject GState */
        SystemDrawMask 		sysDM);				/* new system draw mask */

Set the drawing mask used when drawing text.

Include: graphics.h


Up: GEOS SDK TechDocs | Up | Prev: GrSetLineAttr() ... | Next: GrSetTextMode() ...