Home | History | Annotate | Download | only in pathops

Lines Matching refs:fPts

16     SkDVector pos = fPts[0] - pt;
19 SkDVector A = fPts[1] - fPts[0];
20 SkDVector B = fPts[2] - fPts[1];
28 double d0 = pt.distanceSquared(fPts[0]);
29 double d2 = pt.distanceSquared(fPts[2]);
47 return ((const SkDTriangle&) fPts).contains(pt);
148 cubic[0] = fPts[0];
149 cubic[2] = fPts[1];
150 cubic[3] = fPts[2];
162 SkDVector result = { a * fPts[0].fX + b * fPts[1].fX + c * fPts[2].fX,
163 a * fPts[0].fY + b * fPts[1].fY + c * fPts[2].fY };
170 return fPts[0];
173 return fPts[2];
179 SkDPoint result = { a * fPts[0].fX + b * fPts[1].fX + c * fPts[2].fX,
180 a * fPts[0].fY + b * fPts[1].fY + c * fPts[2].fY };
215 return between(fPts[0].fY, fPts[1].fY, fPts[2].fY);
220 double ax = dst[0].fX = interp_quad_coords(&fPts[0].fX, t1);
221 double ay = dst[0].fY = interp_quad_coords(&fPts[0].fY, t1);
222 double dx = interp_quad_coords(&fPts[0].fX, (t1 + t2) / 2);
223 double dy = interp_quad_coords(&fPts[0].fY, (t1 + t2) / 2);
224 double cx = dst[2].fX = interp_quad_coords(&fPts[0].fX, t2);
225 double cy = dst[2].fY = interp_quad_coords(&fPts[0].fY, t2);
232 if (fPts[endIndex].fX == fPts[1].fX) {
233 dstPt->fX = fPts[endIndex].fX;
235 if (fPts[endIndex].fY == fPts[1].fY) {
236 dstPt->fY = fPts[endIndex].fY;
245 double dx = interp_quad_coords(&fPts[0].fX, (t1 + t2) / 2);
246 double dy = interp_quad_coords(&fPts[0].fY, (t1 + t2) / 2);
295 interp_quad_coords(&fPts[0].fX, &dst.pts[0].fX, t);
296 interp_quad_coords(&fPts[0].fY, &dst.pts[0].fY, t);
349 fPts[index].dump();
352 fPts[index].dump();