Home
last modified time | relevance | path

Searched refs:drawSquare (Results 1 – 2 of 2) sorted by relevance

/external/skia/docs/examples/
DModulate.cpp7 auto drawSquare = [=](int dx, int dy, SkBlendMode mode, const char* label) -> void { in draw() local
20 drawSquare(0, 0, SkBlendMode::kSrc, "destination"); in draw()
21 drawSquare(128, 0, SkBlendMode::kSrc, ""); in draw()
22 drawSquare(0, 128, SkBlendMode::kSrc, ""); in draw()
25 drawSquare(0, 0, SkBlendMode::kSrc, "source"); in draw()
26 drawSquare(0, -128, SkBlendMode::kModulate, "modulate"); in draw()
27 drawSquare(-128, 0, SkBlendMode::kMultiply, "multiply"); in draw()
/external/skqp/docs/
DSkBlendMode_Reference.bmh561 auto drawSquare = [=](int dx, int dy, SkBlendMode mode, const char* label) -> void {
573 drawSquare(0, 0, SkBlendMode::kSrc, "destination");
574 drawSquare(128, 0, SkBlendMode::kSrc, "");
575 drawSquare(0, 128, SkBlendMode::kSrc, "");
578 drawSquare(0, 0, SkBlendMode::kSrc, "source");
579 drawSquare(0, -128, SkBlendMode::kModulate, "modulate");
580 drawSquare(-128, 0, SkBlendMode::kMultiply, "multiply");