Home | History | Annotate | Download | only in font

Lines Matching defs:Font

34 // Font
40 * Represents a font, defined by a Skia font id and a font size. A font is used
43 class Font {
77 ~Font();
85 const Font::FontDescription& getDescription() const {
90 * Creates a new font associated with the specified font state.
92 static Font* create(FontRenderer* state, const SkPaint* paint, const mat4& matrix);
97 Font(FontRenderer* state, const Font::FontDescription& desc);
99 typedef void (Font::*RenderGlyph)(CachedGlyphInfo*, int, int, uint8_t*,
149 inline int strictly_order_type(const Font::FontDescription& lhs,
150 const Font::FontDescription& rhs) {
151 return Font::FontDescription::compare(lhs, rhs) < 0;
154 inline int compare_type(const Font::FontDescription& lhs, const Font::FontDescription& rhs) {
155 return Font::FontDescription::compare(lhs, rhs);
158 inline hash_t hash_type(const Font::FontDescription& entry) {