GlyphData contains the metrics for an individual rendered glyph and its bitmap. More...
#include <kanzi/core.ui/font/font_file.hpp>
Public Member Functions | |
| const byte * | getBitmapData () const |
| Returns the pointer to bitmap data. More... | |
| unsigned int | getHeight () const |
| Returns the height of a bitmap. More... | |
| unsigned int | getWidth () const |
| Returns the width of a bitmap. More... | |
| GlyphData (unsigned int width, unsigned int height, const byte *bitmap) | |
| Constructor. More... | |
| virtual | ~GlyphData () |
| Destructor. More... | |
GlyphData contains the metrics for an individual rendered glyph and its bitmap.
On destruction the derived GlyphData classes release the data resources held by their rasterizer.
|
explicit |
Constructor.
| width | Width of the bitmap. |
| height | Height of the bitmap. |
| bitmap | Pointer to the bitmap data. |
|
virtual |
Destructor.
| unsigned int kanzi::FontFile::GlyphData::getWidth | ( | ) | const |
Returns the width of a bitmap.
| unsigned int kanzi::FontFile::GlyphData::getHeight | ( | ) | const |
Returns the height of a bitmap.
| const byte* kanzi::FontFile::GlyphData::getBitmapData | ( | ) | const |
Returns the pointer to bitmap data.