Home
last modified time | relevance | path

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

/third_party/skia/docs/examples/
DOctopus_Generator.cpp5 void paintOctopus(int x, int y, int size_base, SkColor color, SkCanvas* canvas) { in paintOctopus() argument
9 int radius = 3 * size_base; in paintOctopus()
13 y + radius - pow(abs(4 - leg), 2), size_base / 2 + 2, paint); in paintOctopus()
18 canvas->drawCircle(x - size_base, y + size_base, size_base / 2, paint); in paintOctopus()
19 canvas->drawCircle(x + size_base, y + size_base, size_base / 2, paint); in paintOctopus()
DOctopus_Generator_Animated.cpp5 void paintOctopus(int x, int y, int size_base, SkColor color, SkCanvas* canvas) { in paintOctopus() argument
9 int radius = 3*size_base; in paintOctopus()
13 y + radius - pow(abs(4-leg), 2), size_base/2 + 2, paint); in paintOctopus()
18 canvas->drawCircle(x-size_base, y+size_base, size_base/2, paint); in paintOctopus()
19 canvas->drawCircle(x+size_base, y+size_base, size_base/2, paint); in paintOctopus()