#include <glyph_atlas_context_stb.h>
Definition at line 13 of file glyph_atlas_context_stb.h.
◆ BitmapSTB() [1/2]
impeller::BitmapSTB::BitmapSTB |
( |
| ) |
|
|
default |
◆ ~BitmapSTB()
impeller::BitmapSTB::~BitmapSTB |
( |
| ) |
|
|
default |
◆ BitmapSTB() [2/2]
impeller::BitmapSTB::BitmapSTB |
( |
size_t |
width, |
|
|
size_t |
height, |
|
|
size_t |
bytes_per_pixel |
|
) |
| |
◆ GetHeight()
size_t impeller::BitmapSTB::GetHeight |
( |
| ) |
const |
◆ GetPixelAddress()
uint8_t * impeller::BitmapSTB::GetPixelAddress |
( |
TPoint< size_t > |
coords | ) |
|
Definition at line 23 of file glyph_atlas_context_stb.cc.
23 {
26
27 return &pixels_.data()[(coords.x + width_ * coords.y) * bytes_per_pixel_];
28}
#define FML_DCHECK(condition)
◆ GetPixels()
uint8_t * impeller::BitmapSTB::GetPixels |
( |
| ) |
|
◆ GetRowBytes()
size_t impeller::BitmapSTB::GetRowBytes |
( |
| ) |
const |
◆ GetSize()
size_t impeller::BitmapSTB::GetSize |
( |
| ) |
const |
◆ GetWidth()
size_t impeller::BitmapSTB::GetWidth |
( |
| ) |
const |
The documentation for this class was generated from the following files: