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