Lines Matching refs:pts
49 SkPoint* pts = fPts; in init() local
59 pts->set(bounds.fLeft + x*dx, bounds.fTop + y*dy); in init()
60 pts += 1; in init()
96 static void set_cubic(SkPoint pts[4], SkScalar x0, SkScalar y0, in set_cubic()
100 pts[0].set(x0, y0); in set_cubic()
101 pts[3].set(x3, y3); in set_cubic()
103 tmp = SkPointInterp(pts[0], pts[3], SK_Scalar1/3); in set_cubic()
104 tmp2 = pts[0] - tmp; in set_cubic()
107 pts[1] = tmp + tmp2; in set_cubic()
109 tmp = SkPointInterp(pts[0], pts[3], 2*SK_Scalar1/3); in set_cubic()
110 tmp2 = pts[3] - tmp; in set_cubic()
113 pts[2] = tmp + tmp2; in set_cubic()
130 SkPoint pts[Rows * Cols]; in test_patch() local
131 patch.evalPatch(pts, Rows, Cols); in test_patch()
137 SkMeshUtils::Draw(canvas, bm, Rows, Cols, pts, NULL, paint); in test_patch()