#include <glyph_atlas_context_stb.h>
Public Member Functions | |
BitmapSTB () | |
~BitmapSTB () | |
BitmapSTB (size_t width, size_t height, size_t bytes_per_pixel) | |
uint8_t * | GetPixels () |
uint8_t * | GetPixelAddress (TPoint< size_t > coords) |
size_t | GetRowBytes () const |
size_t | GetWidth () const |
size_t | GetHeight () const |
size_t | GetSize () const |
Definition at line 13 of file glyph_atlas_context_stb.h.
|
default |
|
default |
impeller::BitmapSTB::BitmapSTB | ( | size_t | width, |
size_t | height, | ||
size_t | bytes_per_pixel | ||
) |
Definition at line 13 of file glyph_atlas_context_stb.cc.
size_t impeller::BitmapSTB::GetHeight | ( | ) | const |
Definition at line 38 of file glyph_atlas_context_stb.cc.
uint8_t * impeller::BitmapSTB::GetPixelAddress | ( | TPoint< size_t > | coords | ) |
Definition at line 23 of file glyph_atlas_context_stb.cc.
References impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
Referenced by impeller::DrawGlyph().
uint8_t * impeller::BitmapSTB::GetPixels | ( | ) |
Definition at line 19 of file glyph_atlas_context_stb.cc.
size_t impeller::BitmapSTB::GetRowBytes | ( | ) | const |
Definition at line 30 of file glyph_atlas_context_stb.cc.
Referenced by impeller::DrawGlyph().
size_t impeller::BitmapSTB::GetSize | ( | ) | const |
Definition at line 42 of file glyph_atlas_context_stb.cc.
size_t impeller::BitmapSTB::GetWidth | ( | ) | const |
Definition at line 34 of file glyph_atlas_context_stb.cc.