Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/c/
Dsk_paint.cpp50 void sk_paint_delete(sk_paint_t* cpaint) { delete AsPaint(cpaint); } in sk_paint_delete() argument
52 bool sk_paint_is_antialias(const sk_paint_t* cpaint) { in sk_paint_is_antialias() argument
53 return AsPaint(*cpaint).isAntiAlias(); in sk_paint_is_antialias()
56 void sk_paint_set_antialias(sk_paint_t* cpaint, bool aa) { in sk_paint_set_antialias() argument
57 AsPaint(cpaint)->setAntiAlias(aa); in sk_paint_set_antialias()
60 sk_color_t sk_paint_get_color(const sk_paint_t* cpaint) { in sk_paint_get_color() argument
61 return AsPaint(*cpaint).getColor(); in sk_paint_get_color()
64 void sk_paint_set_color(sk_paint_t* cpaint, sk_color_t c) { in sk_paint_set_color() argument
65 AsPaint(cpaint)->setColor(c); in sk_paint_set_color()
68 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.cpp242 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
243 AsCanvas(ccanvas)->drawRect(AsRect(*crect), AsPaint(*cpaint)); in sk_canvas_save_layer()
285 void sk_canvas_draw_paint(sk_canvas_t* ccanvas, const sk_paint_t* cpaint) { in sk_canvas_draw_paint() argument
286 AsCanvas(ccanvas)->drawPaint(AsPaint(*cpaint)); in sk_canvas_draw_paint()
289 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
290 AsCanvas(ccanvas)->drawRect(AsRect(*crect), AsPaint(*cpaint)); in sk_canvas_draw_rect()
294 const sk_paint_t* cpaint) { in sk_canvas_draw_circle() argument
295 AsCanvas(ccanvas)->drawCircle(cx, cy, rad, AsPaint(*cpaint)); in sk_canvas_draw_circle()
298 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
299 AsCanvas(ccanvas)->drawOval(AsRect(*crect), AsPaint(*cpaint)); in sk_canvas_draw_oval()
[all …]
/third_party/skia/src/c/
Dsk_paint.cpp50 void sk_paint_delete(sk_paint_t* cpaint) { delete AsPaint(cpaint); } in sk_paint_delete() argument
52 bool sk_paint_is_antialias(const sk_paint_t* cpaint) { in sk_paint_is_antialias() argument
53 return AsPaint(*cpaint).isAntiAlias(); in sk_paint_is_antialias()
56 void sk_paint_set_antialias(sk_paint_t* cpaint, bool aa) { in sk_paint_set_antialias() argument
57 AsPaint(cpaint)->setAntiAlias(aa); in sk_paint_set_antialias()
60 sk_color_t sk_paint_get_color(const sk_paint_t* cpaint) { in sk_paint_get_color() argument
61 return AsPaint(*cpaint).getColor(); in sk_paint_get_color()
64 void sk_paint_set_color(sk_paint_t* cpaint, sk_color_t c) { in sk_paint_set_color() argument
65 AsPaint(cpaint)->setColor(c); in sk_paint_set_color()
68 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.cpp260 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
261 AsCanvas(ccanvas)->drawRect(AsRect(*crect), AsPaint(*cpaint)); in sk_canvas_save_layer()
303 void sk_canvas_draw_paint(sk_canvas_t* ccanvas, const sk_paint_t* cpaint) { in sk_canvas_draw_paint() argument
304 AsCanvas(ccanvas)->drawPaint(AsPaint(*cpaint)); in sk_canvas_draw_paint()
307 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
308 AsCanvas(ccanvas)->drawRect(AsRect(*crect), AsPaint(*cpaint)); in sk_canvas_draw_rect()
312 const sk_paint_t* cpaint) { in sk_canvas_draw_circle() argument
313 AsCanvas(ccanvas)->drawCircle(cx, cy, rad, AsPaint(*cpaint)); in sk_canvas_draw_circle()
316 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
317 AsCanvas(ccanvas)->drawOval(AsRect(*crect), AsPaint(*cpaint)); in sk_canvas_draw_oval()
[all …]