Home
last modified time | relevance | path

Searched refs:sk_paint_t (Results 1 – 11 of 11) sorted by relevance

/external/skia/include/c/
Dsk_paint.h31 SK_API sk_paint_t* sk_paint_new(void);
36 SK_API void sk_paint_delete(sk_paint_t*);
41 SK_API bool sk_paint_is_antialias(const sk_paint_t*);
46 SK_API void sk_paint_set_antialias(sk_paint_t*, bool);
51 SK_API sk_color_t sk_paint_get_color(const sk_paint_t*);
55 SK_API void sk_paint_set_color(sk_paint_t*, sk_color_t);
63 SK_API bool sk_paint_is_stroke(const sk_paint_t*);
68 SK_API void sk_paint_set_stroke(sk_paint_t*, bool);
73 SK_API float sk_paint_get_stroke_width(const sk_paint_t*);
78 SK_API void sk_paint_set_stroke_width(sk_paint_t*, float width);
[all …]
Dsk_canvas.h40 SK_API void sk_canvas_save_layer(sk_canvas_t*, const sk_rect_t*, const sk_paint_t*);
98 SK_API void sk_canvas_draw_paint(sk_canvas_t*, const sk_paint_t*);
104 SK_API void sk_canvas_draw_rect(sk_canvas_t*, const sk_rect_t*, const sk_paint_t*);
109 SK_API void sk_canvas_draw_circle(sk_canvas_t*, float cx, float cy, float rad, const sk_paint_t*);
114 SK_API void sk_canvas_draw_oval(sk_canvas_t*, const sk_rect_t*, const sk_paint_t*);
119 SK_API void sk_canvas_draw_path(sk_canvas_t*, const sk_path_t*, const sk_paint_t*);
127 float x, float y, const sk_paint_t*);
137 const sk_rect_t* dst, const sk_paint_t*);
155 const sk_matrix_t*, const sk_paint_t*);
Dsk_types.h203 typedef struct sk_paint_t sk_paint_t; typedef
/external/skia/src/c/
Dsk_paint.cpp48 sk_paint_t* sk_paint_new() { return (sk_paint_t*)new SkPaint; } in sk_paint_new()
50 void sk_paint_delete(sk_paint_t* cpaint) { delete AsPaint(cpaint); } in sk_paint_delete()
52 bool sk_paint_is_antialias(const sk_paint_t* cpaint) { in sk_paint_is_antialias()
56 void sk_paint_set_antialias(sk_paint_t* cpaint, bool aa) { in sk_paint_set_antialias()
60 sk_color_t sk_paint_get_color(const sk_paint_t* cpaint) { in sk_paint_get_color()
64 void sk_paint_set_color(sk_paint_t* cpaint, sk_color_t 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()
72 void sk_paint_set_maskfilter(sk_paint_t* cpaint, sk_maskfilter_t* cfilter) { in sk_paint_set_maskfilter()
76 bool sk_paint_is_stroke(const sk_paint_t* cpaint) { in sk_paint_is_stroke()
80 void sk_paint_set_stroke(sk_paint_t* cpaint, bool doStroke) { in sk_paint_set_stroke()
[all …]
Dsk_types_priv.h17 static inline const SkPaint& AsPaint(const sk_paint_t& cpaint) { in AsPaint()
21 static inline const SkPaint* AsPaint(const sk_paint_t* cpaint) { in AsPaint()
25 static inline SkPaint* AsPaint(sk_paint_t* 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()
370 void sk_canvas_draw_paint(sk_canvas_t* ccanvas, const sk_paint_t* 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()
379 const sk_paint_t* 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()
387 void sk_canvas_draw_path(sk_canvas_t* ccanvas, const sk_path_t* cpath, const sk_paint_t* cpaint) { in sk_canvas_draw_path()
392 const sk_paint_t* cpaint) { in sk_canvas_draw_image()
398 const sk_paint_t* cpaint) { in sk_canvas_draw_image_rect()
412 const sk_matrix_t* cmatrix, const sk_paint_t* cpaint) { in sk_canvas_draw_picture()
/external/skia/experimental/c-api-example/
Dskia-c-example.c36 sk_paint_t* fill = sk_paint_new(); in draw()
48 sk_paint_t* stroke = sk_paint_new(); in draw()
Dc.md57 sk_paint_t* fill = sk_paint_new();
69 sk_paint_t* stroke = sk_paint_new();
/external/skia/tests/
DCTest.cpp20 sk_paint_t* paint = sk_paint_new(); in shader_test()
66 sk_paint_t* paint = sk_paint_new(); in test_c()
/external/skia/gm/
Dcgm.c30 sk_paint_t* paint = sk_paint_new(); in do_draw()
/external/skia/experimental/go-skia/
Dskia.go124 ptr *C.sk_paint_t