|
CGVIS Utils
|
Character box in a bitmap atlas. More...
#include <FontRenderer.h>
Public Attributes | |
| char | c |
| Character this rectangle corresponds to. | |
| Vec2ui | topLeft |
| Top-left corner (inclusive) of the glyph box in the atlas. | |
| Vec2ui | bottomRight |
| Bottom-right corner (exclusive) of the glyph box in the atlas. | |
Character box in a bitmap atlas.
Holds the character code and the inclusive-exclusive rectangle defining its region in the atlas image, expressed in pixel coordinates with origin at the top-left of the atlas.
| Vec2ui CharPosition::bottomRight |
Bottom-right corner (exclusive) of the glyph box in the atlas.
| char CharPosition::c |
Character this rectangle corresponds to.
| Vec2ui CharPosition::topLeft |
Top-left corner (inclusive) of the glyph box in the atlas.