29 if (
color != other.color)
31 if (decoration != other.decoration)
33 if (decoration_color != other.decoration_color)
35 if (decoration_style != other.decoration_style)
37 if (decoration_thickness_multiplier != other.decoration_thickness_multiplier)
39 if (font_weight != other.font_weight)
41 if (font_style != other.font_style)
43 if (letter_spacing != other.letter_spacing)
45 if (word_spacing != other.word_spacing)
47 if (
height != other.height)
49 if (has_height_override != other.has_height_override)
51 if (half_leading != other.half_leading)
53 if (locale != other.locale)
55 if (foreground != other.foreground)
57 if (font_families.size() != other.font_families.size())
59 if (text_shadows.size() != other.text_shadows.size())
61 for (
size_t font_index = 0; font_index < font_families.size(); ++font_index) {
62 if (font_families[font_index] != other.font_families[font_index])
65 for (
size_t shadow_index = 0; shadow_index < text_shadows.size();
67 if (text_shadows[shadow_index] != other.text_shadows[shadow_index])
bool equals(SkDrawable *a, SkDrawable *b)
std::vector< std::string > GetDefaultFontFamilies()