Kanzi 4.0.0-beta2
kanzi::ItypeFontFile::ItypeGlyphData Class Reference

Derived GlyphData implementation for iType. More...

#include <kanzi/plugins/itype/itype_font_file.hpp>

Inheritance diagram for kanzi::ItypeFontFile::ItypeGlyphData:
[legend]

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...
 

Detailed Description

Derived GlyphData implementation for iType.

Releases iType glyph on destruction.

Constructor & Destructor Documentation

◆ ItypeGlyphData()

kanzi::ItypeFontFile::ItypeGlyphData::ItypeGlyphData ( unsigned int width,
unsigned int height,
const byte * bitmap,
void * characterGlyph,
ItypeFontFile * font )
explicit

Constructor.

Parameters
widthWidth of the bitmap.
heightHeight of the bitmap.
bitmapPointer to the bitmap.
characterGlyphPointer to iType's internal character glyph structure.
fontPointer to the owning FontFile object.

◆ ~ItypeGlyphData()

virtual kanzi::ItypeFontFile::ItypeGlyphData::~ItypeGlyphData ( )
virtual

Destructor.


The documentation for this class was generated from the following file: