Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
#include <Font.hpp>

Public Member Functions | |
| Glyph () | |
| ~Glyph () | |
| virtual const char * | className () |
| Returns the name of the class. | |
| unsigned int | textureHandle () const |
| void | setTextureHandle (unsigned int handle) |
| int | width () const |
| void | setWidth (int width) |
| int | height () const |
| void | setHeight (int height) |
| int | left () const |
| void | setLeft (int left) |
| int | top () const |
| void | setTop (int top) |
| float | s0 () const |
| void | setS0 (float s0) |
| float | t0 () const |
| void | setT0 (float t0) |
| float | s1 () const |
| void | setS1 (float s1) |
| float | t1 () const |
| void | setT1 (float t1) |
| const fvec2 & | advance () const |
| void | setAdvance (const fvec2 &advance) |
| unsigned int | glyphIndex () const |
| void | setGlyphIndex (unsigned int glyph_index) |
| const Font * | font () const |
| void | setFont (Font *font) |
Protected Attributes | |
| unsigned int | mTextureHandle |
| int | mWidth |
| int | mHeight |
| int | mLeft |
| int | mTop |
| float | mS0 |
| float | mT0 |
| float | mS1 |
| float | mT1 |
| fvec2 | mAdvance |
| unsigned int | mGlyphIndex |
| Font * | mFont |
| vl::Glyph::Glyph | ( | ) | [inline] |
| vl::Glyph::~Glyph | ( | ) |
| virtual const char* vl::Glyph::className | ( | ) | [inline, virtual] |
| unsigned int vl::Glyph::textureHandle | ( | ) | const [inline] |
| void vl::Glyph::setTextureHandle | ( | unsigned int | handle | ) | [inline] |
| int vl::Glyph::width | ( | ) | const [inline] |
| void vl::Glyph::setWidth | ( | int | width | ) | [inline] |
| int vl::Glyph::height | ( | ) | const [inline] |
| void vl::Glyph::setHeight | ( | int | height | ) | [inline] |
| int vl::Glyph::left | ( | ) | const [inline] |
| void vl::Glyph::setLeft | ( | int | left | ) | [inline] |
| int vl::Glyph::top | ( | ) | const [inline] |
| void vl::Glyph::setTop | ( | int | top | ) | [inline] |
| float vl::Glyph::s0 | ( | ) | const [inline] |
| void vl::Glyph::setS0 | ( | float | s0 | ) | [inline] |
| float vl::Glyph::t0 | ( | ) | const [inline] |
| void vl::Glyph::setT0 | ( | float | t0 | ) | [inline] |
| float vl::Glyph::s1 | ( | ) | const [inline] |
| void vl::Glyph::setS1 | ( | float | s1 | ) | [inline] |
| float vl::Glyph::t1 | ( | ) | const [inline] |
| void vl::Glyph::setT1 | ( | float | t1 | ) | [inline] |
| const fvec2& vl::Glyph::advance | ( | ) | const [inline] |
| void vl::Glyph::setAdvance | ( | const fvec2 & | advance | ) | [inline] |
| unsigned int vl::Glyph::glyphIndex | ( | ) | const [inline] |
| void vl::Glyph::setGlyphIndex | ( | unsigned int | glyph_index | ) | [inline] |
| const Font* vl::Glyph::font | ( | ) | const [inline] |
| void vl::Glyph::setFont | ( | Font * | font | ) | [inline] |
unsigned int vl::Glyph::mTextureHandle [protected] |
int vl::Glyph::mWidth [protected] |
int vl::Glyph::mHeight [protected] |
int vl::Glyph::mLeft [protected] |
int vl::Glyph::mTop [protected] |
float vl::Glyph::mS0 [protected] |
float vl::Glyph::mT0 [protected] |
float vl::Glyph::mS1 [protected] |
float vl::Glyph::mT1 [protected] |
fvec2 vl::Glyph::mAdvance [protected] |
unsigned int vl::Glyph::mGlyphIndex [protected] |
Font* vl::Glyph::mFont [protected] |