Derived GlyphData implementation for iType. More...
#include <kanzi/plugins/itype/itype_font_file.hpp>
Public Member Functions | |
| ItypeGlyphData (unsigned int width, unsigned int height, const byte *bitmap, void *characterGlyph, ItypeFontFile *font) | |
| Constructor. | |
| virtual | ~ItypeGlyphData () |
| Destructor. | |
Public Member Functions inherited from kanzi::FontFile::GlyphData | |
| const byte * | getBitmapData () const |
| Returns the pointer to bitmap data. | |
| GraphicsFormat | getColorFormat () const |
| Returns the color format of the glyph bitmap data. | |
| DataFormat | getDataFormat () const |
| Returns the data format of the glyph bitmap. | |
| size_t | getHeight () const |
| Returns the height of a bitmap. | |
| size_t | getWidth () const |
| Returns the width of a bitmap. | |
| GlyphData (size_t width, size_t height, const byte *bitmap) | |
| Constructor. | |
| GlyphData (size_t width, size_t height, const byte *bitmap, DataFormat dataFormat) | |
| Constructor. | |
| virtual | ~GlyphData () |
| Destructor. | |
Additional Inherited Members | |
Public Types inherited from kanzi::FontFile::GlyphData | |
| enum class | DataFormat { ALPHA8 , B8G8R8A8 , R8G8B8A8_VerticallyFlipped } |
| Specifies the data format of the glyph. More... | |
Derived GlyphData implementation for iType.
Releases iType glyph on destruction.
|
explicit |
Constructor.
| width | Width of the bitmap. |
| height | Height of the bitmap. |
| bitmap | Pointer to the bitmap. |
| characterGlyph | Pointer to iType's internal character glyph structure. |
| font | Pointer to the owning FontFile object. |
|
virtual |
Destructor.