Lines Matching refs:SkVector
66 SkVector dir = { 0, 0 }; in draw_45()
98 SkVector radii[4] = { { 0.0f, 0.0f }, { 0.0f, 0.0f }, { 0.0f, 0.0f }, { 0.0f, 0.0f } }; in draw_45()
99 radii[left] = SkVector::Make(kSize, kSize); in draw_45()
100 radii[right] = SkVector::Make(kSize, kSize); in draw_45()
115 static void draw_45_simple(SkCanvas* canvas, const SkVector& v, in draw_45_simple()
130 static void draw_90(SkCanvas* canvas, const SkVector& v, SkScalar dist, const SkPoint& center) { in draw_90()
149 static void draw_90_simple(SkCanvas* canvas, const SkVector& v, in draw_90_simple()
174 static void draw_30_60(SkCanvas* canvas, SkRRect::Corner corner, const SkVector& v, in draw_30_60()
209 SkVector radii[4] = { { 0.0f, 0.0f }, { 0.0f, 0.0f }, { 0.0f, 0.0f }, { 0.0f, 0.0f } }; in draw_30_60()
210 radii[left] = SkVector::Make(SkIntToScalar(kWidth), SkIntToScalar(kWidth)); in draw_30_60()
211 radii[right] = SkVector::Make(SkIntToScalar(kWidth), SkIntToScalar(kWidth)); in draw_30_60()
270 draw_90(canvas, SkVector::Make(-1.0f, 0.0f), 64, center); in onDraw()
271 draw_90(canvas, SkVector::Make(0.0f, -1.0f), 64, center); in onDraw()
272 draw_90(canvas, SkVector::Make(1.0f, 0.0f), 64, center); in onDraw()
273 draw_90(canvas, SkVector::Make(0.0f, 1.0f), 64, center); in onDraw()
278 SkVector::Make(0.5f, kRoot3Over2), 120, center); in onDraw()
280 SkVector::Make(kRoot3Over2, 0.5f), 120, center); in onDraw()
283 SkVector::Make(-0.5f, kRoot3Over2), 120, center); in onDraw()
285 SkVector::Make(-kRoot3Over2, 0.5f), 120, center); in onDraw()
288 SkVector::Make(-0.5f, -kRoot3Over2), 120, center); in onDraw()
290 SkVector::Make(-kRoot3Over2, -0.5f), 120, center); in onDraw()
293 SkVector::Make(0.5f, -kRoot3Over2), 120, center); in onDraw()
295 SkVector::Make(kRoot3Over2, -0.5f), 120, center); in onDraw()
297 draw_45_simple(canvas, SkVector::Make(-SK_ScalarRoot2Over2, -SK_ScalarRoot2Over2), in onDraw()
299 draw_45_simple(canvas, SkVector::Make(SK_ScalarRoot2Over2, -SK_ScalarRoot2Over2), in onDraw()
301 draw_45_simple(canvas, SkVector::Make(SK_ScalarRoot2Over2, SK_ScalarRoot2Over2), in onDraw()
303 draw_45_simple(canvas, SkVector::Make(-SK_ScalarRoot2Over2, SK_ScalarRoot2Over2), in onDraw()
306 draw_90_simple(canvas, SkVector::Make(-1.0f, 0.0f), 160, center); in onDraw()
307 draw_90_simple(canvas, SkVector::Make(0.0f, -1.0f), 160, center); in onDraw()
308 draw_90_simple(canvas, SkVector::Make(1.0f, 0.0f), 160, center); in onDraw()
309 draw_90_simple(canvas, SkVector::Make(0.0f, 1.0f), 160, center); in onDraw()