TK_Character_Attribute
-
struct
TK_Character_Attribute defines all of the attributes that can be set on individual characters
Variables
-
char *
TK_Character_Attribute::name - char
the font name
-
float
TK_Character_Attribute::color[3] - float
the color. RGB triplet
-
float
TK_Character_Attribute::size - float
the size. Units are specified separately in size_units
-
float
TK_Character_Attribute::vertical_offset - float
offset, positive or negative, from the standard position. units are specified separately in vertical_offset_units
-
float
TK_Character_Attribute::horizontal_offset - float
offset, positive or negative, from the standard position. units are specified separately in horizontal_offset_units
-
float
TK_Character_Attribute::slant - float
the angle (in degrees) that text is slanted (e.g. for italic). Positive numbers correspond to clockwise.
-
float
TK_Character_Attribute::rotation - float
the angle (in degrees) that text is rotated
-
float
TK_Character_Attribute::width_scale - float
adjustment to character width
-
unsigned short
TK_Character_Attribute::mask - unsigned short
specifies which settings are active (i.e. the attributes for which we have an opinion at this point)
-
unsigned short
TK_Character_Attribute::value - unsigned short
for active settings, on or off
-
unsigned char
TK_Character_Attribute::size_units - unsigned char
specified with enum TKO_Font_Size_Units
-
unsigned char
TK_Character_Attribute::vertical_offset_units - unsigned char
specified with enum TKO_Font_Size_Units
-
unsigned char
TK_Character_Attribute::horizontal_offset_units - unsigned char
specified with enum TKO_Font_Size_Units