Lines Matching refs:SkIntToScalar
30 return SkCornerPathEffect::Make(SkIntToScalar(CORNER_RADIUS)); in make_pe()
34 path.moveTo(SkIntToScalar(gXY[0]), SkIntToScalar(gXY[1])); in make_pe()
36 path.lineTo(SkIntToScalar(gXY[i]), SkIntToScalar(gXY[i+1])); in make_pe()
38 path.offset(SkIntToScalar(-6), 0); in make_pe()
45 auto inner = SkCornerPathEffect::Make(SkIntToScalar(CORNER_RADIUS)); in make_pe()
52 path.moveTo(SkIntToScalar(gXY[0]), SkIntToScalar(gXY[1])); in make_warp_pe()
54 path.lineTo(SkIntToScalar(gXY[i]), SkIntToScalar(gXY[i+1])); in make_warp_pe()
57 path.offset(SkIntToScalar(-6), 0); in make_warp_pe()
61 auto inner = SkCornerPathEffect::Make(SkIntToScalar(CORNER_RADIUS)); in make_warp_pe()
83 SkScalar dist = SkIntToScalar(400); in onOnceBeforeDraw()
84 SkScalar x = SkIntToScalar(20); in onOnceBeforeDraw()
85 SkScalar y = SkIntToScalar(50); in onOnceBeforeDraw()
90 SkScalar tmpY = y + SkIntToScalar(rand.nextS() % 25); in onOnceBeforeDraw()
100 oval.set(SkIntToScalar(20), SkIntToScalar(30), in onOnceBeforeDraw()
101 SkIntToScalar(100), SkIntToScalar(60)); in onOnceBeforeDraw()
103 fPath.addRoundRect(oval, SkIntToScalar(8), SkIntToScalar(8)); in onOnceBeforeDraw()
106 fClickPt.set(SkIntToScalar(200), SkIntToScalar(200)); in onOnceBeforeDraw()