Lines Matching refs:SkPoint
31 const SkPoint pts[3]) { in drawtriangle()
52 SkPoint pts[] = { { 0, 0, }, in make_shader1()
66 void setPatch(const SkPoint pts[12]) { in setPatch()
67 memcpy(fPts, pts, 12 * sizeof(SkPoint)); in setPatch()
76 SkPoint fPts[13];
80 static void eval_patch_edge(const SkPoint cubic[], SkPoint samples[], int segs) { in eval_patch_edge()
91 static void eval_sheet(const SkPoint edge[], int nu, int nv, int iu, int iv, in eval_sheet()
92 SkPoint* pt) { in eval_sheet()
145 SkAutoSTMalloc<16, SkPoint> storage(npts + 1); in draw()
146 SkPoint* edge0 = storage.get(); in draw()
147 SkPoint* edge1 = edge0 + nu; in draw()
148 SkPoint* edge2 = edge1 + nv; in draw()
149 SkPoint* edge3 = edge2 + nu; in draw()
163 SkAutoTMalloc<SkPoint> vertStorage(vertCount); in draw()
164 SkPoint* verts = vertStorage.get(); in draw()
167 memcpy(verts, edge0, (nu + 1) * sizeof(SkPoint)); in draw()
169 SkPoint* r = verts; in draw()
179 SkPoint* last = verts + nv * (nu + 1); in draw()
187 SkAutoTMalloc<SkPoint> stripStorage(stripCount * 2); in draw()
189 SkPoint* strip = stripStorage.get(); in draw()
190 SkPoint* tex = strip + stripCount; in draw()
197 SkPoint* upper = r; in draw()
198 SkPoint* lower = r + nu + 1; in draw()
236 SkPoint fPts[12];
322 static bool hittest(const SkPoint& pt, SkScalar x, SkScalar y) { in hittest()
323 return SkPoint::Length(pt.fX - x, pt.fY - y) < SkIntToScalar(5); in hittest()