Home | History | Annotate | Download | only in samplecode

Lines Matching full:fpts

63     Patch() { sk_bzero(fPts, sizeof(fPts)); }
67 memcpy(fPts, pts, 12 * sizeof(SkPoint));
68 fPts[12] = pts[0]; // the last shall be first
76 SkPoint fPts[13];
152 eval_patch_edge(fPts + 0, edge0, nu);
153 eval_patch_edge(fPts + 3, edge1, nv);
154 eval_patch_edge(fPts + 6, edge2, nu);
155 eval_patch_edge(fPts + 9, edge3, nv);
236 SkPoint fPts[12];
249 fPts[0].set(S*0, T);
250 fPts[1].set(S*1, T);
251 fPts[2].set(S*2, T);
252 fPts[3].set(S*3, T);
253 fPts[4].set(S*3, T*2);
254 fPts[5].set(S*3, T*3);
255 fPts[6].set(S*3, T*4);
256 fPts[7].set(S*2, T*4);
257 fPts[8].set(S*1, T*4);
258 fPts[9].set(S*0, T*4);
259 fPts[10].set(S*0, T*3);
260 fPts[11].set(S*0, T*2);
300 patch.setPatch(fPts);
306 canvas->drawPoints(SkCanvas::kPoints_PointMode, SK_ARRAY_COUNT(fPts), fPts, paint);
327 for (size_t i = 0; i < SK_ARRAY_COUNT(fPts); i++) {
328 if (hittest(fPts[i], x, y)) {
336 fPts[((PtClick*)click)->fIndex].set(click->fCurr.fX, click->fCurr.fY);