#include <FontFace.h>
Public Member Functions | |
| FontFace (FT_Face face, Font::Style style, Font::Weight weight, bool release_stream) | |
| Font::Style | GetStyle () const |
| Font::Weight | GetWeight () const |
| FontFaceHandle * | GetHandle (const String &charset, int size) |
| void | ReleaseFace () |
| Font::Style Rocket::Core::FontFace::GetStyle | ( | ) | const |
Returns the style of the font face.
| Font::Weight Rocket::Core::FontFace::GetWeight | ( | ) | const |
Returns the weight of the font face.
| FontFaceHandle * Rocket::Core::FontFace::GetHandle | ( | const String & | charset, | |
| int | size | |||
| ) |
Returns a handle for positioning and rendering this face at the given size.
| [in] | charset | The set of characters in the handle, as a comma-separated list of unicode ranges. |
| [in] | size | The size of the desired handle, in points. |
| void Rocket::Core::FontFace::ReleaseFace | ( | ) |
Releases the face's FreeType face structure. This will mean handles for new sizes cannot be constructed, but existing ones can still be fetched.