|
GL Studio API
|
Character attributes. One item for each character in the set. More...
#include <gls_font_base.h>
Public Member Functions | |
| CharAttr_t () | |
| Default constructor to initialize character attribute data to known values. More... | |
Public Attributes | |
| GLfloat | height |
| GLfloat | varTexX1 |
| GLfloat | varTexX2 |
| GLfloat | fixedTexX1 |
| GLfloat | fixedTexX2 |
| GLfloat | varTexY1 |
| GLfloat | varTexY2 |
| GLfloat | fixedTexY1 |
| GLfloat | fixedTexY2 |
| GLfloat | horiBearingX |
| GLfloat | horiBearingY |
| GLfloat | horiAdvance |
| GLfloat | vertBearingX |
| GLfloat | vertBearingY |
| GLfloat | vertAdvance |
Character attributes. One item for each character in the set.
|
inline |
Default constructor to initialize character attribute data to known values.
Distance to advance the pen position after drawing this character for vertical strings.
| GLfloat fixedTexX1 |
Right most x position in the texture for variable width font spacing. (in texture coordinates)
| GLfloat fixedTexX2 |
Left most x position in the texture for fixed width font spacing. (in texture coordinates)
| GLfloat fixedTexY1 |
Upper most y position in the texture for variable height font spacing. (in texture coordinates)
| GLfloat fixedTexY2 |
Lowest y position in the texture for fixed height font spacing. (in texture coordinates)
| GLfloat height |
Character width in pixels/points
| GLfloat horiAdvance |
Distance from pen position (ie the baseline) to the top edge of the character (varTexY2) for horizontal strings.
| GLfloat horiBearingX |
Upper most y position in the texture for fixed height font spacing. (in texture coordinates)
| GLfloat horiBearingY |
Distance from pen position to the left edge of the character (varTexX1) for horizontal strings.
| GLfloat varTexX1 |
Character height in pixels/points
| GLfloat varTexX2 |
Left most x position in the texture for variable width font spacing. (in texture coordinates)
| GLfloat varTexY1 |
Right most x position in the texture for fixed width font spacing. (in texture coordinates)
| GLfloat varTexY2 |
Lowest y position in the texture for variable height font spacing. (in texture coordinates)
| GLfloat vertAdvance |
Distance from pen position to the top edge of the character (varTexY2) for vertical strings.
| GLfloat vertBearingX |
Distance to advance the pen position after drawing this character for horizontal strings.
| GLfloat vertBearingY |
Distance from pen position (ie the center line) to the left edge of the character (varTexX1) for vertical strings.
1.8.10