Home
last modified time | relevance | path

Searched refs:AsPaint (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/c/
Dsk_paint.cpp50 void sk_paint_delete(sk_paint_t* cpaint) { delete AsPaint(cpaint); } in sk_paint_delete()
53 return AsPaint(*cpaint).isAntiAlias(); in sk_paint_is_antialias()
57 AsPaint(cpaint)->setAntiAlias(aa); in sk_paint_set_antialias()
61 return AsPaint(*cpaint).getColor(); in sk_paint_get_color()
65 AsPaint(cpaint)->setColor(c); in sk_paint_set_color()
69 AsPaint(cpaint)->setShader(sk_ref_sp(AsShader(cshader))); in sk_paint_set_shader()
73 AsPaint(cpaint)->setMaskFilter(sk_ref_sp(AsMaskFilter(cfilter))); in sk_paint_set_maskfilter()
77 return AsPaint(*cpaint).getStyle() != SkPaint::kFill_Style; in sk_paint_is_stroke()
81 AsPaint(cpaint)->setStyle(doStroke ? SkPaint::kStroke_Style : SkPaint::kFill_Style); in sk_paint_set_stroke()
85 return AsPaint(*cpaint).getStrokeWidth(); in sk_paint_get_stroke_width()
[all …]
Dsk_types_priv.h17 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
Dsk_surface.cpp328 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()