Kanzi Framework  3.9.0
Kanzi Engine API
kanzi::BitmapFontFile::BitmapGlyphData Class Reference

Derived GlyphData implementation for bitmap fonts. More...

#include <kanzi/core.ui/font/bitmap_font_file.hpp>

Inheritance diagram for kanzi::BitmapFontFile::BitmapGlyphData:
[legend]

Public Member Functions

 BitmapGlyphData (unsigned int width, unsigned int height, vector< byte > bitmap)
 Constructor. More...
 
 ~BitmapGlyphData () override
 Destructor. More...
 
- Public Member Functions inherited from kanzi::FontFile::GlyphData
const bytegetBitmapData () 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...
 

Detailed Description

Derived GlyphData implementation for bitmap fonts.

Releases the bitmap data on destruction.

Constructor & Destructor Documentation

◆ BitmapGlyphData()

kanzi::BitmapFontFile::BitmapGlyphData::BitmapGlyphData ( unsigned int  width,
unsigned int  height,
vector< byte bitmap 
)
explicit

Constructor.

Parameters
widthWidth of the bitmap.
heightHeight of the bitmap.
bitmapPointer to the bitmap.

◆ ~BitmapGlyphData()

kanzi::BitmapFontFile::BitmapGlyphData::~BitmapGlyphData ( )
override

Destructor.


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