Flutter Engine
The Flutter Engine
|
Describes a typeface along with any modifications to its intrinsic properties. More...
#include <font.h>
Classes | |
struct | Metrics |
Describes the modifications made to the intrinsic properties of a typeface. More... | |
Public Member Functions | |
Font (std::shared_ptr< Typeface > typeface, Metrics metrics) | |
~Font () | |
bool | IsValid () const |
const std::shared_ptr< Typeface > & | GetTypeface () const |
The typeface whose intrinsic properties this font modifies. | |
const Metrics & | GetMetrics () const |
std::size_t | GetHash () const override |
bool | IsEqual (const Font &other) const override |
Describes a typeface along with any modifications to its intrinsic properties.
|
default |
|
overridevirtual |
Implements impeller::Comparable< Font >.
Definition at line 27 of file font.cc.
const Font::Metrics & impeller::Font::GetMetrics | ( | ) | const |
const std::shared_ptr< Typeface > & impeller::Font::GetTypeface | ( | ) | const |
|
overridevirtual |
Implements impeller::Comparable< Font >.
Definition at line 32 of file font.cc.
bool impeller::Font::IsValid | ( | ) | const |