Home
last modified time | relevance | path

Searched refs:SkColorSetRGB (Results 1 – 25 of 57) sorted by relevance

123

/external/skia/docs/examples/
DColor_Constants_a.cpp16 {"black", SkColorSetRGB( 0, 0, 0), SKIA_COLOR_PAIR(BLACK) },
17 {"darkgray", SkColorSetRGB(169, 169, 169), SKIA_COLOR_PAIR(DKGRAY) },
18 {"gray", SkColorSetRGB(128, 128, 128), SKIA_COLOR_PAIR(GRAY) },
19 {"lightgray", SkColorSetRGB(211, 211, 211), SKIA_COLOR_PAIR(LTGRAY) },
20 {"white", SkColorSetRGB(255, 255, 255), SKIA_COLOR_PAIR(WHITE) },
21 {"red", SkColorSetRGB(255, 0, 0), SKIA_COLOR_PAIR(RED) },
22 {"green", SkColorSetRGB( 0, 128, 0), SKIA_COLOR_PAIR(GREEN) },
23 {"blue", SkColorSetRGB( 0, 0, 255), SKIA_COLOR_PAIR(BLUE) },
24 {"yellow", SkColorSetRGB(255, 255, 0), SKIA_COLOR_PAIR(YELLOW) },
25 {"aqua", SkColorSetRGB( 0, 255, 255), SKIA_COLOR_PAIR(CYAN) },
[all …]
DCanvas_writePixels_2.cpp14 pixels[0] = SkColorSetRGB(x, y, x | y); in draw()
15 pixels[1] = SkColorSetRGB(x ^ y, y, x); in draw()
16 pixels[2] = SkColorSetRGB(x, x & y, y); in draw()
17 pixels[3] = SkColorSetRGB((~x) & 0xFF, (~y) & 0xFF, x); in draw()
Dskpaint_skia.cpp11 paint1.setColor(SkColorSetRGB(255, 0, 0)); in draw()
15 paint2.setColor(SkColorSetRGB(0, 136, 0)); in draw()
20 paint3.setColor(SkColorSetRGB(136, 136, 136)); in draw()
DColorSetRGB.cpp9 canvas->drawColor(SkColorSetRGB(0x00, 0xFF, 0x00)); in draw()
11 canvas->drawColor(SkColorSetRGB(0x00, 0x00, 0xFF)); in draw()
Dshader.cpp20 SkColor colors[2] = {SkColorSetRGB(66, 133, 244), SkColorSetRGB(15, 157, 88)}; in draw()
Dnot_path_gradient.cpp22 SkColor colors[2] = {SkColorSetRGB(0xEA, 0xD2, 0xAC), SkColorSetRGB(0x42, 0x81, 0xA4)}; in draw()
DUnicornPoop.cpp14 p.setColor(SkColorSetRGB(r, g, b)); in draw()
Dskpaint_blur_mask_filter_2.cpp7 const SkColor blurColor = SkColorSetRGB(96, 96, 0); in draw()
DOctopus_Generator.cpp15 paint.setColor(SkColorSetRGB(std::min(255u, SkColorGetR(color) + 20), in paintOctopus()
/external/skia/tests/
DBlendTest.cpp143 black_paint.setColor(SkColorSetRGB(0xFF, 0xFF, 0x80)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
149 white_paint.setColor(SkColorSetRGB(0x80, 0xFF, 0xFF)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
163 SkColorSetRGB(0xFF, 0xFF, 0x80)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
165 SkColorSetRGB(0x80, 0xFF, 0x80)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DHSVRoundTripTest.cpp17 SkColor color = SkColorSetRGB(r, g, b); in DEF_TEST()
/external/skqp/tests/
DBlendTest.cpp177 black_paint.setColor(SkColorSetRGB(0xFF, 0xFF, 0x80)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
183 white_paint.setColor(SkColorSetRGB(0x80, 0xFF, 0xFF)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
197 SkColorSetRGB(0xFF, 0xFF, 0x80)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
199 SkColorSetRGB(0x80, 0xFF, 0x80)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DHSVRoundTripTest.cpp17 SkColor color = SkColorSetRGB(r, g, b); in DEF_TEST()
/external/skqp/gm/
Drepeated_bitmap.cpp14 sk_tool_utils::draw_checkerboard(canvas, SkColorSetRGB(156, 154, 156), in draw_rotated_image()
21 paint.setColor(SkColorSetRGB(49, 48, 49)); in draw_rotated_image()
Daaclip.cpp79 borderPaint.setColor(SkColorSetRGB(0x0, 0xDD, 0x0)); in draw()
82 backgroundPaint.setColor(SkColorSetRGB(0xDD, 0x0, 0x0)); in draw()
85 foregroundPaint.setColor(SkColorSetRGB(0x0, 0x0, 0xDD)); in draw()
Dgm.cpp126 paint.setColor(SkColorSetRGB(27, 158, 119)); in MarkGMGood()
146 paint.setColor(SkColorSetRGB(231, 41, 138)); in MarkGMBad()
Dcomplexclip2.cpp44 this->setBGColor(SkColorSetRGB(0xDD,0xA0,0xDD)); in onOnceBeforeDraw()
146 fillPaint.setColor(SkColorSetRGB(0xA0,0xDD,0xA0)); in onDraw()
Dcoloremoji.cpp49 return SkColorMatrixFilter::MakeLightingFilter(SkColorSetRGB(0x00, 0x80, 0xFF), in make_color_filter()
50 SkColorSetRGB(0xFF, 0x20, 0x00)); in make_color_filter()
/external/skia/gm/
Drepeated_bitmap.cpp23 ToolUtils::draw_checkerboard(canvas, SkColorSetRGB(156, 154, 156), SK_ColorWHITE, 12); in draw_rotated_image()
30 paint.setColor(SkColorSetRGB(49, 48, 49)); in draw_rotated_image()
Daaclip.cpp29 borderPaint.setColor(SkColorSetRGB(0x0, 0xDD, 0x0)); in draw()
32 backgroundPaint.setColor(SkColorSetRGB(0xDD, 0x0, 0x0)); in draw()
35 foregroundPaint.setColor(SkColorSetRGB(0x0, 0x0, 0xDD)); in draw()
Dpostercircle.cpp61 fillPaint.setColor(i % 2 == 0 ? SkColorSetRGB(0x99, 0x5C, 0x7F) in onOnceBeforeDraw()
62 : SkColorSetRGB(0x83, 0x5A, 0x99)); in onOnceBeforeDraw()
Dgm.cpp43 canvas->drawColor(SkColorSetRGB(200,0,0)); in draw_failure_message()
230 canvas->drawCircle(0, 0, 12, SkPaint(SkColor4f::FromColor(SkColorSetRGB(27, 158, 119)))); in MarkGMGood()
247 canvas->drawCircle(0,0, 12, SkPaint(SkColor4f::FromColor(SkColorSetRGB(231, 41, 138)))); in MarkGMBad()
Dcoloremoji.cpp63 return SkColorMatrixFilter::MakeLightingFilter(SkColorSetRGB(0x00, 0x80, 0xFF), in make_color_filter()
64 SkColorSetRGB(0xFF, 0x20, 0x00)); in make_color_filter()
Dcomplexclip2.cpp51 this->setBGColor(SkColorSetRGB(0xDD,0xA0,0xDD)); in onOnceBeforeDraw()
149 fillPaint.setColor(SkColorSetRGB(0xA0,0xDD,0xA0)); in onDraw()
/external/skqp/docs/
DSkColor_Reference.bmh92 #SeeAlso SkColorSetRGB SkPaint::setARGB SkPaint::setColor SkColorSetA
98 #Define SkColorSetRGB
117 canvas->drawColor(SkColorSetRGB(0x00, 0xFF, 0x00));
119 canvas->drawColor(SkColorSetRGB(0x00, 0x00, 0xFF));
448 {"black", SkColorSetRGB( 0, 0, 0), SKIA_COLOR_PAIR(BLACK) },
449 {"darkgray", SkColorSetRGB(169, 169, 169), SKIA_COLOR_PAIR(DKGRAY) },
450 {"gray", SkColorSetRGB(128, 128, 128), SKIA_COLOR_PAIR(GRAY) },
451 {"lightgray", SkColorSetRGB(211, 211, 211), SKIA_COLOR_PAIR(LTGRAY) },
452 {"white", SkColorSetRGB(255, 255, 255), SKIA_COLOR_PAIR(WHITE) },
453 {"red", SkColorSetRGB(255, 0, 0), SKIA_COLOR_PAIR(RED) },
[all …]

123