10 : typeface_(
std::move(typeface)), metrics_(metrics) {
34 is_valid_ == other.is_valid_ && metrics_ == other.metrics_;
Describes a typeface along with any modifications to its intrinsic properties.
Font(std::shared_ptr< Typeface > typeface, Metrics metrics)
bool IsEqual(const Font &other) const override
const std::shared_ptr< Typeface > & GetTypeface() const
The typeface whose intrinsic properties this font modifies.
std::size_t GetHash() const override
const Metrics & GetMetrics() const
constexpr std::size_t HashCombine()
bool DeepComparePointer(const std::shared_ptr< ComparableType > &lhs, const std::shared_ptr< ComparableType > &rhs)
Describes the modifications made to the intrinsic properties of a typeface.