Lines Matching refs:kRadius
19 constexpr int kRadius = 40; // radius of the snowflake variable
29 sin *= kRadius / 2.0f; in draw_fins()
30 cos *= kRadius / 2.0f; in draw_fins()
39 sin *= kRadius / 2.0f; in draw_fins()
40 cos *= kRadius / 2.0f; in draw_fins()
51 canvas->clipRect(SkRect::MakeLTRB(-kRadius-kPad, -kRadius-kPad, kRadius+kPad, kRadius+kPad)); in draw_snowflake()
56 sin *= kRadius; in draw_snowflake()
57 cos *= kRadius; in draw_snowflake()
76 canvas->translate(kRadius+kPad, 0.0f); in draw_row()
91 canvas->translate(2*(kRadius+kPad), 0.0f); in draw_row()
112 return SkISize::Make(kNumColumns * (2*kRadius+2*kPad), kNumRows * (2*kRadius+2*kPad)); in onISize()
126 SkPoint pts[] = { {-kRadius-kPad, -kRadius-kPad }, { kRadius+kPad, kRadius+kPad } }; in onOnceBeforeDraw()
199 canvas->translate(0, kRadius+kPad); in onDraw()
206 canvas->translate(0, 2*(kRadius+kPad)); in onDraw()
214 canvas->translate(0, 2*(kRadius+kPad)); in onDraw()