Home | History | Annotate | Download | only in pathops

Lines Matching refs:fDefer

40     if (fEmpty && AlmostEqualUlps(fDefer[0], pt1) && AlmostEqualUlps(pt1, pt2)
46 fDefer[1] = pt3;
48 fDefer[0] = fDefer[1];
51 pt1.fX, pt1.fY, pt2.fX, pt2.fY, fDefer[1].fX, fDefer[1].fY);
53 fPathPtr->cubicTo(pt1.fX, pt1.fY, pt2.fX, pt2.fY, fDefer[1].fX, fDefer[1].fY);
58 if (pt == fDefer[1]) {
63 fDefer[0] = fDefer[1];
65 fDefer[1] = pt;
72 fDefer[0] = fDefer[1] = pt;
93 return !fEmpty && SkDPoint::ApproximatelyEqual(fFirstPt, fDefer[1]);
97 if (fDefer[0] == fDefer[1]) {
104 SkDebugf("path.lineTo(%1.9g,%1.9g);\n", fDefer[1].fX, fDefer[1].fY);
106 fPathPtr->lineTo(fDefer[1].fX, fDefer[1].fY);
107 fDefer[0] = fDefer[1];
115 if (fEmpty || !AlmostEqualUlps(fDefer[1].fX, fFirstPt.fX)
116 || !AlmostEqualUlps(fDefer[1].fY, fFirstPt.fY)) {
119 fDefer[1] = fFirstPt;
124 if (fEmpty && AlmostEqualUlps(fDefer[0], pt1) && AlmostEqualUlps(pt1, pt2)) {
129 fDefer[1] = pt2;
131 fDefer[0] = fDefer[1];
134 pt1.fX, pt1.fY, fDefer[1].fX, fDefer[1].fY);
136 fPathPtr->quadTo(pt1.fX, pt1.fY, fDefer[1].fX, fDefer[1].fY);
145 if (fDefer[0] == fDefer[1]) {
148 SkScalar deferDx = fDefer[1].fX - fDefer[0].fX;
149 SkScalar deferDy = fDefer[1].fY - fDefer[0].fY;
150 SkScalar lineDx = pt.fX - fDefer[1].fX;
151 SkScalar lineDy = pt.fY - fDefer[1].fY;
159 fFirstPt = fDefer[0];
161 SkDebugf("path.moveTo(%1.9g,%1.9g);\n", fDefer[0].fX, fDefer[0].fY);
163 fPathPtr->moveTo(fDefer[0].fX, fDefer[0].fY);