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

GlyphData implementation for iType CBDT fonts. More...

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

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

Public Member Functions

 ItypeBitmapData (BitmapImageUniquePtr bitmapImage)
 Constructor.
 
- 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

GlyphData implementation for iType CBDT fonts.

Since
Kanzi 4.0.0

Constructor & Destructor Documentation

◆ ItypeBitmapData()

kanzi::ItypeFontFile::ItypeBitmapData::ItypeBitmapData ( BitmapImageUniquePtr bitmapImage)
explicit

Constructor.

Parameters
bitmapImageUnique pointer to the bitmap.

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