Searched refs:AsPaint (Results 1 – 3 of 3) sorted by relevance
/external/skia/src/c/ |
D | sk_paint.cpp | 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() [all …]
|
D | sk_types_priv.h | 17 static inline const SkPaint& AsPaint(const sk_paint_t& cpaint) { in AsPaint() function 21 static inline const SkPaint* AsPaint(const sk_paint_t* cpaint) { in AsPaint() function 25 static inline SkPaint* AsPaint(sk_paint_t* cpaint) { in AsPaint() function
|
D | sk_surface.cpp | 328 AsCanvas(ccanvas)->drawRect(AsRect(*crect), AsPaint(*cpaint)); in sk_canvas_save_layer() 371 AsCanvas(ccanvas)->drawPaint(AsPaint(*cpaint)); in sk_canvas_draw_paint() 375 AsCanvas(ccanvas)->drawRect(AsRect(*crect), AsPaint(*cpaint)); in sk_canvas_draw_rect() 380 AsCanvas(ccanvas)->drawCircle(cx, cy, rad, AsPaint(*cpaint)); in sk_canvas_draw_circle() 384 AsCanvas(ccanvas)->drawOval(AsRect(*crect), AsPaint(*cpaint)); in sk_canvas_draw_oval() 388 AsCanvas(ccanvas)->drawPath(AsPath(*cpath), AsPaint(*cpaint)); in sk_canvas_draw_path() 393 AsCanvas(ccanvas)->drawImage(AsImage(cimage), x, y, AsPaint(cpaint)); in sk_canvas_draw_image() 402 const SkPaint* paint = AsPaint(cpaint); in sk_canvas_draw_image_rect() 419 AsCanvas(ccanvas)->drawPicture(AsPicture(cpicture), matrixPtr, AsPaint(cpaint)); in sk_canvas_draw_picture()
|