Font::Glyph Struct Reference

List of all members.

Public Member Functions

 Glyph ()

Public Attributes

float advance
 How many pixels should the cursor advance after printing the glyph.
Vector offset
 Offset that is used when drawing the glyph.
int surface_idx
 index of containing surface
Rectf rect
 Position of the glyph inside the surface.

Detailed Description

Definition at line 111 of file font.hpp.


Constructor & Destructor Documentation

Font::Glyph::Glyph (  )  [inline]

Definition at line 125 of file font.hpp.

00125             :
00126       advance(),
00127       offset(),
00128       surface_idx(),
00129       rect()
00130     {}
  };


Member Data Documentation

float Font::Glyph::advance

How many pixels should the cursor advance after printing the glyph.

Definition at line 114 of file font.hpp.

Referenced by Font::draw_chars(), and Font::loadFontSurface().

Vector Font::Glyph::offset

Offset that is used when drawing the glyph.

Definition at line 117 of file font.hpp.

Referenced by Font::draw_chars(), and Font::loadFontSurface().

int Font::Glyph::surface_idx

index of containing surface

Definition at line 120 of file font.hpp.

Referenced by Font::draw_chars(), and Font::loadFontSurface().

Rectf Font::Glyph::rect

Position of the glyph inside the surface.

Definition at line 123 of file font.hpp.

Referenced by Font::draw_chars(), and Font::loadFontSurface().


The documentation for this struct was generated from the following file:
Generated on Mon Jun 9 03:38:30 2014 for SuperTux by  doxygen 1.5.1