Up: GEOS SDK TechDocs | Up | Prev: GSSetLineEnd() ... | Next: HAL_COUNT() ...

GSSetSubscriptAttr()

#define GSSetSubscriptAttr(pos,size) \
        GR_SET_SUBSCRIPT_ATTR,(pos),(size)

This GString creation macro sets the vertical offset and size to use when rendering subscript text.

Include: gstring.h

GSSetSuperscriptAttr()

#define GSSetSuperscriptAttr(pos,size) \
        GR_SET_SUPERSCRIPT_ATTR,(pos),(size)

This GString creation macro sets the vertical offset and size to use when rendering superscript text.

Include: gstring.h

GSSetTextAttr()

#define GSSetTextAttr(cflag,r,g,b,mask,sSet,sReset,mSet,mReset,
sPad,id,pSize,trk Krn,fWeight,fWidth) \
        GR_SET_TEXT_ATTR,(cflag),(r),(g),(b),(mask),(sSet), \
(sReset),(mSet),(mReset),GOC_WWF(sPad), \
GOC_WORD(id), GOC_WWF(pSize),GOC_SW(trkKrn),(fWeight),(fWidth)

This GString creation macro sets the TextAttr structure to use when rendering text. It takes several arguments: the four components of a ColorQuad , a drawing mask, TextStyle flags to set and clear, TextMode flags to set and clear, a spacing pad, a FontID , a pointsize expressed as a WWFixed number, a track kerning value, a FontWeight , and a FontWidth .

Include: gstring.h

GSSetTextColor()

#define GSSetTextColor(r,g,b) GR_SET_TEXT_COLOR,(r),(g),(b)

This GString creation macro sets the text-rendering color by means of red, green, and blue component values.

Include: gstring.h

GSSetTextColorIndex()

#define GSSetTextColorIndex(index) GR_SET_TEXT_COLOR_INDEX,(index)

This GString creation macro specifies the text-rendering color as an index of the palette.

Include: gstring.h

GSSetTextColorMap()

#define GSSetTextColorMap(mode) GR_SET_TEXT_COLOR_MAP,(mode)

This GString creation macro sets the ColorMapMode to use when trying to render text in an unavailable color.

Include: gstring.h

GSSetTextMask()

#define GSSetTextMask(index) GR_SET_TEXT_MASK, (index)

This GString creation macro specifies the mask to use when rendering text.

Include: gstring.h

GSSetTextMode()

#define GSSetTextMode(set,reset) \
                GR_SET_TEXT_MODE,(set),(reset) 

This GString creation macro sets and clears TextMode flags. It takes two arguments: the flags to set and the flags to clear.

Include: gstring.h

GSSetTextPattern()

#define GSSetTextPattern(pattern) \
        GR_SET_TEXT_PATTERN,GOC_PATTERN(pattern)

This GString creation macro sets the GraphicPattern to use when rendering text.

Include: gstring.h

GSSetTextSpacePad()

#define GSSetTextSpacePad(pad_wbf) \
                GR_SET_TEXT_SPACE_PAD, GOC_WBF(pad_wbf)

This GString creation macro specifies the space pad to use when rendering text. It takes one argument: the space padding value, expressed as a WBFixed number.

Include: gstring.h

GSSetTextStyle()

#define GSSetTextStyle(set,reset) \
                GR_SET_TEXT_STYLE,(set),(reset)

This GString creation macro changes the TextStyle flags to use when drawing text. It takes two arguments, the flags to set and the flags to clear.

Include: gstring.h

GSSetTrackKern()

#define GSSetTrackKern(degree) GR_SET_TRACK_KERN, GOC_SW(degree)

This GString creation macro sets the track kerning value to use when rendering text strings.

Include: gstring.h

GSSetTransform()

#define GSSetTransform(e11_f,e12_f,e21_f,e22_f,e31_df,e32_df) \
        GR_SET_TRANSFORM,GOC_WWF(e11_f), \
GOC_WWF(e12_f),GOC_WWF(e21_f), \
GOC_WWF(e22_f),GOC_DWF(e31_df),GOC_DWF(e32_df)

This GString creation macro sets the coordinate transformation. The new transformation is defined in terms of the elements of a transformation matrix, four WWFixed values and two DWFixed values.

Include: gstring.h

GSSetWinClipPath()

#define GSSetWinClipPath(flags) GR_SET_WIN_CLIP_PATH,(flags)

This GString creation macro combines the current path with the window clipping path, using the passed PathCombineType .

Include: gstring.h

GSSetWinClipRect()

#define GSSetWinClipRect(path,rl_sw,rt_sw,rr_sw,rb_sw) \
        GR_SET_WIN_CLIP_RECT,GOC_SW(rl_sw), \
GOC_SW(rt_sw),GOC_SW(rr_sw),GOC_SW(rb_sw)

This GString creation macro combines a rectangle with the existing window clipping path. It takes five arguments: a PathCombineType and the bounding coordinates of the rectangle.

Include: gstring.h

 


Up: GEOS SDK TechDocs | Up | Prev: GSSetLineEnd() ... | Next: HAL_COUNT() ...