Searched refs:ColorPaint (Results 1 – 4 of 4) sorted by relevance
22 size_t parse_node<ColorPaint>(StreamReader* sr, ColorPaint* node) { in parse_node()34 void ColorPaint::onRevalidate() {} in onRevalidate()36 void ColorPaint::onApply(SkPaint* paint) const { in onApply()
40 return make_from_stream<ColorPaint>(sr, SkPaint::kFill_Style); in parse_component()42 return make_from_stream<ColorPaint>(sr, SkPaint::kStroke_Style); in parse_component()
39 auto node = sk_make_sp<skrive::ColorPaint>(SkPaint::Style::kFill_Style); in DEF_TEST()47 check_type<skrive::ColorPaint >(reporter, node, true ); in DEF_TEST()59 check_type<skrive::ColorPaint >(reporter, node, false ); in DEF_TEST()
186 class ColorPaint final : public Paint {188 explicit ColorPaint(SkPaint::Style style) : INHERITED(Type::kColorPaint, style) {} in ColorPaint() function281 if (t == Type::kColorPaint) return std::is_base_of<T, ColorPaint>::value; in is_base_of()