| Flutter Impeller |

Public Member Functions | List of all members
impeller::Typeface Class Referenceabstract

A typeface, usually obtained from a font-file, on disk describes the intrinsic properties of the font. Typefaces are rarely used directly. Instead, font refer to typefaces along with any modifications applied to its intrinsic properties. More...

`#include <typeface.h>`

Inheritance diagram for impeller::Typeface:

## Public Member Functions
| Typeface ()
virtual | ~Typeface ()
virtual bool | IsValid () const =0
Public Member Functions inherited from impeller::Comparable< Typeface >
virtual std::size_t | GetHash () const=0
virtual bool | IsEqual (const Typeface &other) const=0

## Detailed Description

A typeface, usually obtained from a font-file, on disk describes the intrinsic properties of the font. Typefaces are rarely used directly. Instead, font refer to typefaces along with any modifications applied to its intrinsic properties.

Definition at line 18 of file typeface.h.

## Constructor & Destructor Documentation

## ◆ Typeface()

impeller::Typeface::Typeface | ( |  | ) |
| default

## ◆ ~Typeface()

impeller::Typeface::~Typeface | ( |  | ) |
| virtual default

## Member Function Documentation

## ◆ IsValid()

virtual bool impeller::Typeface::IsValid | ( |  | ) | const
| pure virtual

Implemented in impeller::TypefaceSTB, and impeller::TypefaceSkia.

The documentation for this class was generated from the following files:

- impeller/typographer/typeface.h
- impeller/typographer/typeface.cc