#include <font_glyph_pair.h>
Classes | |
| struct | Equal |
Public Types | |
| enum class | Tone { kDark , kLight } |
| using | ToneOrColor = std::variant< Tone, Color > |
Static Public Member Functions | |
| static Tone | ComputeTone (const Color &c) |
Public Attributes | |
| ToneOrColor | tone_or_color |
| std::optional< StrokeParameters > | stroke |
Static Public Attributes | |
| static constexpr ToneOrColor | kDarkTone {Tone::kDark} |
| static constexpr ToneOrColor | kLightTone {Tone::kLight} |
Definition at line 20 of file font_glyph_pair.h.
| using impeller::GlyphProperties::ToneOrColor = std::variant<Tone, Color> |
Definition at line 26 of file font_glyph_pair.h.
|
strong |
| Enumerator | |
|---|---|
| kDark | |
| kLight | |
Definition at line 21 of file font_glyph_pair.h.
Definition at line 45 of file font_glyph_pair.h.
References c, kDark, and kLight.
Referenced by impeller::FirstPassDispatcher::drawText(), impeller::TextContents::SetTextProperties(), and impeller::testing::TEST_P().
|
staticconstexpr |
Definition at line 27 of file font_glyph_pair.h.
Referenced by impeller::DrawGlyph().
|
staticconstexpr |
Definition at line 28 of file font_glyph_pair.h.
Referenced by impeller::DrawGlyph(), and impeller::UpdateAtlasBitmap().
| std::optional<StrokeParameters> impeller::GlyphProperties::stroke |
Definition at line 37 of file font_glyph_pair.h.
Referenced by impeller::ComputeGlyphSize(), impeller::DrawGlyph(), impeller::FirstPassDispatcher::drawText(), impeller::GlyphProperties::Equal::operator()(), and impeller::TextContents::SetTextProperties().
| ToneOrColor impeller::GlyphProperties::tone_or_color |
Definition at line 36 of file font_glyph_pair.h.
Referenced by impeller::DrawGlyph(), impeller::FirstPassDispatcher::drawText(), impeller::GlyphProperties::Equal::operator()(), impeller::TextContents::SetTextProperties(), impeller::testing::TEST_P(), impeller::testing::TEST_P(), and impeller::UpdateAtlasBitmap().