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