PixelLightAPI  .
Public Member Functions | Protected Member Functions | Protected Attributes
PLRenderer::FontGlyph Class Reference

Abstract renderer font glyph. More...

#include <FontGlyph.h>

Inheritance diagram for PLRenderer::FontGlyph:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual PLRENDERER_API ~FontGlyph ()
 Destructor.
const PLMath::Vector2iGetSize () const
 Returns the size (in pixel) of the glyph.
const PLMath::Vector2GetCorner () const
 Returns the distance (in pixel) from the current pen position to the glyph bitmap.
const PLMath::Vector2GetPenAdvance () 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

Detailed Description

Abstract renderer font glyph.


Constructor & Destructor Documentation

virtual PLRENDERER_API PLRenderer::FontGlyph::~FontGlyph ( ) [virtual]

Destructor.

PLRENDERER_API PLRenderer::FontGlyph::FontGlyph ( ) [protected]

Default constructor.


Member Function Documentation

Returns the size (in pixel) of the glyph.

Returns:
The size (in pixel) of the glyph

Returns the distance (in pixel) from the current pen position to the glyph bitmap.

Returns:
The distance (in pixel) from the current pen position to the glyph bitmap

Returns the object space pen advance.

Returns:
The object space pen advance

Member Data Documentation

Size (in pixel) of the glyph

Distance (in pixel) from the current pen position to the glyph bitmap

Object space pen advance


The documentation for this class was generated from the following files:


PixelLight PixelLight 0.9.10-R1
Copyright (C) 2002-2011 by The PixelLight Team
Last modified Fri Dec 23 2011 15:51:23
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported