Home
last modified time | relevance | path

Searched refs:sk_canvas_t (Results 1 – 10 of 10) sorted by relevance

/external/skia/include/c/
Dsk_canvas.h23 SK_API void sk_canvas_save(sk_canvas_t*);
40 SK_API void sk_canvas_save_layer(sk_canvas_t*, const sk_rect_t*, const sk_paint_t*);
48 SK_API void sk_canvas_restore(sk_canvas_t*);
54 SK_API void sk_canvas_translate(sk_canvas_t*, float dx, float dy);
59 SK_API void sk_canvas_scale(sk_canvas_t*, float sx, float sy);
64 SK_API void sk_canvas_rotate_degrees(sk_canvas_t*, float degrees);
69 SK_API void sk_canvas_rotate_radians(sk_canvas_t*, float radians);
74 SK_API void sk_canvas_skew(sk_canvas_t*, float sx, float sy);
79 SK_API void sk_canvas_concat(sk_canvas_t*, const sk_matrix_t*);
86 SK_API void sk_canvas_clip_rect(sk_canvas_t*, const sk_rect_t*);
[all …]
Dsk_types.h178 typedef struct sk_canvas_t sk_canvas_t; typedef
Dsk_picture.h36 sk_canvas_t* sk_picture_recorder_begin_recording(sk_picture_recorder_t*, const sk_rect_t*);
Dsk_surface.h64 SK_API sk_canvas_t* sk_surface_get_canvas(sk_surface_t*);
/external/skia/src/c/
Dsk_surface.cpp181 static sk_canvas_t* ToCanvas(SkCanvas* canvas) { in ToCanvas()
182 return reinterpret_cast<sk_canvas_t*>(canvas); in ToCanvas()
185 static SkCanvas* AsCanvas(sk_canvas_t* ccanvas) { in AsCanvas()
323 void sk_canvas_save(sk_canvas_t* ccanvas) { in sk_canvas_save()
327 void sk_canvas_save_layer(sk_canvas_t* ccanvas, const sk_rect_t* crect, const sk_paint_t* cpaint) { in sk_canvas_save_layer()
331 void sk_canvas_restore(sk_canvas_t* ccanvas) { in sk_canvas_restore()
335 void sk_canvas_translate(sk_canvas_t* ccanvas, float dx, float dy) { in sk_canvas_translate()
339 void sk_canvas_scale(sk_canvas_t* ccanvas, float sx, float sy) { in sk_canvas_scale()
343 void sk_canvas_rotate_degress(sk_canvas_t* ccanvas, float degrees) { in sk_canvas_rotate_degress()
347 void sk_canvas_rotate_radians(sk_canvas_t* ccanvas, float radians) { in sk_canvas_rotate_radians()
[all …]
/external/skia/gm/
Dcgm.c18 extern void sk_test_c_api(sk_canvas_t*);
29 static void do_draw(sk_canvas_t* canvas) { in do_draw()
50 void sk_test_c_api(sk_canvas_t* canvas) { in sk_test_c_api()
Dcgms.cpp11 extern "C" void sk_test_c_api(sk_canvas_t*);
14 sk_test_c_api((sk_canvas_t*)canvas);
/external/skia/experimental/c-api-example/
Dskia-c-example.c35 void draw(sk_canvas_t* canvas) { in draw()
76 sk_canvas_t* canvas = sk_surface_get_canvas(surface); in main()
Dc.md56 void draw(sk_canvas_t* canvas) {
97 sk_canvas_t* canvas = sk_surface_get_canvas(surface);
/external/skia/tests/
DCTest.cpp19 sk_canvas_t* canvas = sk_surface_get_canvas(surface); in shader_test()
68 sk_canvas_t* canvas = sk_surface_get_canvas(surface); in test_c()