Lines Matching refs:SkIntToScalar
33 SkScalar angle = SK_ScalarPI * SkIntToScalar(i) / kNumAngles; in onOnceBeforeDraw()
44 kindaTightQuad->quadTo(SkIntToScalar(100), SkIntToScalar(100), -10 * SK_Scalar1, 0); in onOnceBeforeDraw()
50 tightQuad->quadTo(SkIntToScalar(100), SkIntToScalar(100), -5 * SK_Scalar1, 0); in onOnceBeforeDraw()
56 tighterQuad->quadTo(SkIntToScalar(100), SkIntToScalar(100), -2 * SK_Scalar1, 0); in onOnceBeforeDraw()
63 p.set(-2 * SK_Scalar1 + 3 * SkIntToScalar(102) / 4, SkIntToScalar(75)); in onOnceBeforeDraw()
64 unevenTighterQuad->quadTo(SkIntToScalar(100), SkIntToScalar(100), p.fX, p.fY); in onOnceBeforeDraw()
70 reallyTightQuad->quadTo(SkIntToScalar(100), SkIntToScalar(100), -1 * SK_Scalar1, 0); in onOnceBeforeDraw()
76 closedQuad->quadTo(SkIntToScalar(100), SkIntToScalar(100), 0, 0); in onOnceBeforeDraw()
82 unevenClosedQuad->quadTo(SkIntToScalar(100), SkIntToScalar(100), in onOnceBeforeDraw()
83 SkIntToScalar(75), SkIntToScalar(75)); in onOnceBeforeDraw()
90 problem1->moveTo(SkIntToScalar(4), SkIntToScalar(6)); in onOnceBeforeDraw()
91 problem1->cubicTo(SkIntToScalar(5), SkIntToScalar(6), in onOnceBeforeDraw()
92 SkIntToScalar(5), SkIntToScalar(4), in onOnceBeforeDraw()
93 SkIntToScalar(4), SkIntToScalar(0)); in onOnceBeforeDraw()
99 problem2->moveTo(SkIntToScalar(5), SkIntToScalar(1)); in onOnceBeforeDraw()
141 constexpr SkScalar kRad = SkIntToScalar(2000); in onOnceBeforeDraw()
175 canvas->translate(SkIntToScalar(kMargin), SkIntToScalar(kMargin)); in onDraw()
178 SkScalar x = SkIntToScalar(kMargin); in onDraw()
187 canvas->translate(0, maxH + SkIntToScalar(kMargin)); in onDraw()
190 x = SkIntToScalar(kMargin); in onDraw()
206 SkScalar dx = bounds.width() + SkIntToScalar(kMargin); in onDraw()