#include <sglBitmapFont.hpp>
Inheritance diagram for sglBitmapFontGLX::
Public Methods | |
sglBitmapFontGLX (Font font) | |
~sglBitmapFontGLX () | |
virtual sglBitmapFont* | clone () const |
virtual void | rasterString (const char *str, int len=-1) const |
virtual unsigned int | getHeight () const |
virtual unsigned int | getDescent () const |
virtual unsigned int | getCharWidth (char c) const |
virtual unsigned int | getStringWidth (const string &str) const |
Definition at line 196 of file sglBitmapFont.hpp.
|
Construct a font from the given X font. NOTE: A gl context should be current when this method is called.
|
|
NOTE: A gl context should be current when this method is called.
|
|
Create a copy of this font. The copy will have display lists that are valid for the current context.
Reimplemented from sglBitmapFont. |
|
Renders a bitmap string at the current raster position. Characters should be limited to the ASCII range 0-127.
Reimplemented from sglBitmapFont. |
|
Gets the height of the font in pixels.
Reimplemented from sglBitmapFont. |
|
Gets the extent of the font below the baseline in pixels.
Reimplemented from sglBitmapFont. |
|
Gets the width of the given character.
Reimplemented from sglBitmapFont. |
|
Gets the width of the given string.
Reimplemented from sglBitmapFont. |