Lines Matching defs:FontStyle
33 // FontStyle represents all style information needed to select an actual font
36 class FontStyle {
38 FontStyle() : FontStyle(0 /* variant */, 4 /* weight */, false /* italic */) {}
39 FontStyle(int weight, bool italic) : FontStyle(0 /* variant */, weight, italic) {}
40 FontStyle(uint32_t langListId)
41 : FontStyle(langListId, 0 /* variant */, 4 /* weight */, false /* italic */) {}
43 FontStyle(int variant, int weight, bool italic);
44 FontStyle(uint32_t langListId, int variant, int weight, bool italic);
51 bool operator==(const FontStyle other) const {
78 inline hash_t hash_type(const FontStyle &style) {
119 void addFont(MinikinFont* typeface, FontStyle style);
120 FakedFont getClosestMatch(FontStyle style) const;
128 FontStyle getStyle(size_t index) const;
143 void addFontLocked(MinikinFont* typeface, FontStyle style);
147 Font(MinikinFont* typeface, FontStyle style) :
150 FontStyle style;