Lines Matching refs:AsPaint
50 SkDELETE(AsPaint(cpaint)); in sk_paint_delete()
54 return AsPaint(*cpaint).isAntiAlias(); in sk_paint_is_antialias()
58 AsPaint(cpaint)->setAntiAlias(aa); in sk_paint_set_antialias()
62 return AsPaint(*cpaint).getColor(); in sk_paint_get_color()
66 AsPaint(cpaint)->setColor(c); in sk_paint_set_color()
70 AsPaint(cpaint)->setShader(AsShader(cshader)); in sk_paint_set_shader()
74 AsPaint(cpaint)->setMaskFilter(AsMaskFilter(cfilter)); in sk_paint_set_maskfilter()
78 return AsPaint(*cpaint).getStyle() != SkPaint::kFill_Style; in sk_paint_is_stroke()
82 AsPaint(cpaint)->setStyle(doStroke ? SkPaint::kStroke_Style : SkPaint::kFill_Style); in sk_paint_set_stroke()
86 return AsPaint(*cpaint).getStrokeWidth(); in sk_paint_get_stroke_width()
90 AsPaint(cpaint)->setStrokeWidth(width); in sk_paint_set_stroke_width()
94 return AsPaint(*cpaint).getStrokeMiter(); in sk_paint_get_stroke_miter()
98 AsPaint(cpaint)->setStrokeMiter(miter); in sk_paint_set_stroke_miter()
103 if (find_c(AsPaint(*cpaint).getStrokeCap(), &ccap)) { in sk_paint_get_stroke_cap()
112 AsPaint(cpaint)->setStrokeCap(skcap); in sk_paint_set_stroke_cap()
120 if (find_c(AsPaint(*cpaint).getStrokeJoin(), &cjoin)) { in sk_paint_get_stroke_join()
129 AsPaint(cpaint)->setStrokeJoin(skjoin); in sk_paint_set_stroke_join()