PixelLightAPI
.
|
Abstract renderer font glyph. More...
#include <FontGlyph.h>
Public Member Functions | |
virtual PLRENDERER_API | ~FontGlyph () |
Destructor. | |
const PLMath::Vector2i & | GetSize () const |
Returns the size (in pixel) of the glyph. | |
const PLMath::Vector2 & | GetCorner () const |
Returns the distance (in pixel) from the current pen position to the glyph bitmap. | |
const PLMath::Vector2 & | GetPenAdvance () const |
Returns the object space pen advance. | |
Protected Member Functions | |
PLRENDERER_API | FontGlyph () |
Default constructor. | |
Protected Attributes | |
PLMath::Vector2i | m_nSize |
PLMath::Vector2 | m_vCorner |
PLMath::Vector2 | m_vPenAdvance |
Abstract renderer font glyph.
virtual PLRENDERER_API PLRenderer::FontGlyph::~FontGlyph | ( | ) | [virtual] |
Destructor.
PLRENDERER_API PLRenderer::FontGlyph::FontGlyph | ( | ) | [protected] |
Default constructor.
const PLMath::Vector2i & PLRenderer::FontGlyph::GetSize | ( | ) | const [inline] |
Returns the size (in pixel) of the glyph.
const PLMath::Vector2 & PLRenderer::FontGlyph::GetCorner | ( | ) | const [inline] |
Returns the distance (in pixel) from the current pen position to the glyph bitmap.
const PLMath::Vector2 & PLRenderer::FontGlyph::GetPenAdvance | ( | ) | const [inline] |
Returns the object space pen advance.
PLMath::Vector2i PLRenderer::FontGlyph::m_nSize [protected] |
Size (in pixel) of the glyph
PLMath::Vector2 PLRenderer::FontGlyph::m_vCorner [protected] |
Distance (in pixel) from the current pen position to the glyph bitmap
PLMath::Vector2 PLRenderer::FontGlyph::m_vPenAdvance [protected] |
Object space pen advance
|