A glyph and its subpixel position. More...
#include <font_glyph_pair.h>
Classes | |
struct | Equal |
Public Member Functions | |
SubpixelGlyph (Glyph p_glyph, SubpixelPosition p_subpixel_offset, std::optional< GlyphProperties > p_properties) | |
Public Attributes | |
Glyph | glyph |
SubpixelPosition | subpixel_offset |
std::optional< GlyphProperties > | properties |
Friends | |
template<typename H > | |
H | AbslHashValue (H h, const SubpixelGlyph &sg) |
A glyph and its subpixel position.
Definition at line 85 of file font_glyph_pair.h.
|
inline |
Definition at line 90 of file font_glyph_pair.h.
|
friend |
Definition at line 98 of file font_glyph_pair.h.
Glyph impeller::SubpixelGlyph::glyph |
Definition at line 86 of file font_glyph_pair.h.
Referenced by impeller::ComputeGlyphSize(), impeller::TextContents::ComputeVertexData(), impeller::DrawGlyph(), impeller::SubpixelGlyph::Equal::operator()(), and impeller::testing::TEST_P().
std::optional<GlyphProperties> impeller::SubpixelGlyph::properties |
Definition at line 88 of file font_glyph_pair.h.
Referenced by impeller::BulkUpdateAtlasBitmap(), impeller::ComputeGlyphSize(), impeller::SubpixelGlyph::Equal::operator()(), and impeller::UpdateAtlasBitmap().
SubpixelPosition impeller::SubpixelGlyph::subpixel_offset |
Definition at line 87 of file font_glyph_pair.h.
Referenced by impeller::ComputeGlyphSize(), impeller::DrawGlyph(), and impeller::SubpixelGlyph::Equal::operator()().