Home | History | Annotate | Download | only in font

Lines Matching defs:Font

39 // Font
47 * Represents a font, defined by a Skia font id and a font size. A font is used
50 class Font {
78 ~Font();
86 const Font::FontDescription& getDescription() const { return mDescription; }
89 * Creates a new font associated with the specified font state.
91 static Font* create(FontRenderer* state, const SkPaint* paint, const SkMatrix& matrix);
96 Font(FontRenderer* state, const Font::FontDescription& desc);
98 typedef void (Font::*RenderGlyph)(CachedGlyphInfo*, int, int, uint8_t*, uint32_t, uint32_t,
146 inline int strictly_order_type(const Font::FontDescription& lhs, const Font::FontDescription& rhs) {
147 return Font::FontDescription::compare(lhs, rhs) < 0;
150 inline int compare_type(const Font::FontDescription& lhs, const Font::FontDescription& rhs) {
151 return Font::FontDescription::compare(lhs, rhs);
154 inline hash_t hash_type(const Font::FontDescription& entry) {