Validated bitmap cost and placement metadata; not an authentication or cache identity token.
More...
#include "donner/svg/text/TextBackend.h"
|
| bool | operator== (const BitmapGlyphMetrics &other) const =default = 0 |
| | Scale used for this metadata query.Compare all cost and placement fields exactly.
|
|
|
FontHandle | font |
| | Font whose metrics were queried.
|
|
int | glyphIndex = 0 |
| | Glyph index within the font.
|
|
int | selectedStrikeIndex = -1 |
| | Selected embedded strike, or -1 without fixed strikes.
|
|
int | width = 0 |
| | Native bitmap width in pixels.
|
|
int | height = 0 |
| | Native bitmap height in pixels.
|
|
std::size_t | rgbaBytes = 0 |
| | Checked tightly packed RGBA storage bytes.
|
|
double | bearingX = 0 |
| | Scaled horizontal bearing from glyph origin.
|
|
double | bearingY = 0 |
| | Scaled upward bearing from baseline.
|
|
double | scale = 1.0 |
| | Native bitmap pixel scale.
|
Validated bitmap cost and placement metadata; not an authentication or cache identity token.
◆ operator==()
| bool donner::svg::TextBackend::BitmapGlyphMetrics::operator== |
( |
const BitmapGlyphMetrics & | other | ) |
const = 0 |
|
default |
Scale used for this metadata query.Compare all cost and placement fields exactly.
- Parameters
-
- Returns
- True when every field matches.
The documentation for this struct was generated from the following file: