Home
last modified time | relevance | path

Searched refs:sk_color_set_argb (Results 1 – 4 of 4) sorted by relevance

/external/skia/experimental/c-api-example/
Dskia-c-example.c37 sk_paint_set_color(fill, sk_color_set_argb(0xFF, 0x00, 0x00, 0xFF)); in draw()
40 sk_paint_set_color(fill, sk_color_set_argb(0xFF, 0x00, 0xFF, 0xFF)); in draw()
49 sk_paint_set_color(stroke, sk_color_set_argb(0xFF, 0xFF, 0x00, 0x00)); in draw()
61 sk_paint_set_color(fill, sk_color_set_argb(0x80, 0x00, 0xFF, 0x00)); in draw()
Dc.md58 sk_paint_set_color(fill, sk_color_set_argb(0xFF, 0x00, 0x00, 0xFF));
61 sk_paint_set_color(fill, sk_color_set_argb(0xFF, 0x00, 0xFF, 0xFF));
70 sk_paint_set_color(stroke, sk_color_set_argb(0xFF, 0xFF, 0x00, 0x00));
82 sk_paint_set_color(fill, sk_color_set_argb(0x80, 0x00, 0xFF, 0x00));
/external/skia/tests/
DCTest.cpp26 (sk_color_t)sk_color_set_argb(0xFF, 0x00, 0x00, 0xFF), in shader_test()
27 (sk_color_t)sk_color_set_argb(0xFF, 0x00, 0xFF, 0x00) in shader_test()
72 sk_paint_set_color(paint, sk_color_set_argb(0xFF, 0xFF, 0xFF, 0xFF)); in test_c()
77 sk_paint_set_color(paint, sk_color_set_argb(0x80, 0x80, 0x80, 0x80)); in test_c()
/external/skia/include/c/
Dsk_types.h49 #define sk_color_set_argb(a, r, g, b) (((a) << 24) | ((r) << 16) | ((g) << 8) | (b)) macro