GrSetFontAttr()

Name

GrSetFontAttr() -- Change font attributes

Synopsis

void GrSetFontAttr ( GR_FONT_ID fontid , int setflags , int clrflags );

Description

This function changes the attributes of the specified font.

Parameters

TypeNameDescription
GR_FONT_IDfontidThe ID of the font in which the attributes will be modified.
intsetflagsA bitwise OR of all the font attribute flags to set.
intclrflagsA bitwise OR of all the font attribute flags to clear.

Table 2-1. Font Attribute Flags

GR_TFKERNINGGR_TFANTIALIASGR_TFUNDERLINE

See Also

GrCreateFont(), GrSetFontSize(), GrSetFontRotation(), GrGetFontInfo().