Lines Matching defs:FontStyle
35 // FontStyle represents all style information needed to select an actual font
38 class FontStyle {
40 FontStyle() : FontStyle(0 /* variant */, 4 /* weight */, false /* italic */) {}
41 FontStyle(int weight, bool italic) : FontStyle(0 /* variant */, weight, italic) {}
42 FontStyle(uint32_t langListId) // NOLINT(implicit)
43 : FontStyle(langListId, 0 /* variant */, 4 /* weight */, false /* italic */) {}
45 FontStyle(int variant, int weight, bool italic);
46 FontStyle(uint32_t langListId, int variant, int weight, bool italic);
53 bool operator==(const FontStyle other) const {
80 inline android::hash_t hash_type(const FontStyle &style) {
106 Font(const std::shared_ptr<MinikinFont>& typeface, FontStyle style);
107 Font(std::shared_ptr<MinikinFont>&& typeface, FontStyle style);
112 FontStyle style;
132 FakedFont getClosestMatch(FontStyle style) const;
142 FontStyle getStyle(size_t index) const { return mFonts[index].style; }