Home
last modified time | relevance | path

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

/external/skia/src/c/
Dsk_paint.cpp47 void sk_paint_delete(sk_paint_t* cpaint) { delete AsPaint(cpaint); } in sk_paint_delete() argument
49 bool sk_paint_is_antialias(const sk_paint_t* cpaint) { in sk_paint_is_antialias() argument
50 return AsPaint(*cpaint).isAntiAlias(); in sk_paint_is_antialias()
53 void sk_paint_set_antialias(sk_paint_t* cpaint, bool aa) { in sk_paint_set_antialias() argument
54 AsPaint(cpaint)->setAntiAlias(aa); in sk_paint_set_antialias()
57 sk_color_t sk_paint_get_color(const sk_paint_t* cpaint) { in sk_paint_get_color() argument
58 return AsPaint(*cpaint).getColor(); in sk_paint_get_color()
61 void sk_paint_set_color(sk_paint_t* cpaint, sk_color_t c) { in sk_paint_set_color() argument
62 AsPaint(cpaint)->setColor(c); in sk_paint_set_color()
65 void sk_paint_set_shader(sk_paint_t* cpaint, sk_shader_t* cshader) { in sk_paint_set_shader() argument
[all …]
Dsk_types_priv.h17 static inline const SkPaint& AsPaint(const sk_paint_t& cpaint) { in AsPaint() argument
18 return reinterpret_cast<const SkPaint&>(cpaint); in AsPaint()
21 static inline const SkPaint* AsPaint(const sk_paint_t* cpaint) { in AsPaint() argument
22 return reinterpret_cast<const SkPaint*>(cpaint); in AsPaint()
25 static inline SkPaint* AsPaint(sk_paint_t* cpaint) { in AsPaint() argument
26 return reinterpret_cast<SkPaint*>(cpaint); in AsPaint()
Dsk_surface.cpp327 void sk_canvas_save_layer(sk_canvas_t* ccanvas, const sk_rect_t* crect, const sk_paint_t* cpaint) { in sk_canvas_save_layer() argument
328 AsCanvas(ccanvas)->drawRect(AsRect(*crect), AsPaint(*cpaint)); in sk_canvas_save_layer()
370 void sk_canvas_draw_paint(sk_canvas_t* ccanvas, const sk_paint_t* cpaint) { in sk_canvas_draw_paint() argument
371 AsCanvas(ccanvas)->drawPaint(AsPaint(*cpaint)); in sk_canvas_draw_paint()
374 void sk_canvas_draw_rect(sk_canvas_t* ccanvas, const sk_rect_t* crect, const sk_paint_t* cpaint) { in sk_canvas_draw_rect() argument
375 AsCanvas(ccanvas)->drawRect(AsRect(*crect), AsPaint(*cpaint)); in sk_canvas_draw_rect()
379 const sk_paint_t* cpaint) { in sk_canvas_draw_circle() argument
380 AsCanvas(ccanvas)->drawCircle(cx, cy, rad, AsPaint(*cpaint)); in sk_canvas_draw_circle()
383 void sk_canvas_draw_oval(sk_canvas_t* ccanvas, const sk_rect_t* crect, const sk_paint_t* cpaint) { in sk_canvas_draw_oval() argument
384 AsCanvas(ccanvas)->drawOval(AsRect(*crect), AsPaint(*cpaint)); in sk_canvas_draw_oval()
[all …]