Lines Matching refs:fY
14 return AlmostEqualUlps(pt1.fX, pt2.fX) && AlmostEqualUlps(pt1.fY, pt2.fY);
18 double fX, fY;
24 fY += v.fY;
29 fY -= v.fY;
34 fY /= s;
39 fY *= s;
43 SkVector v = {SkDoubleToScalar(fX), SkDoubleToScalar(fY)};
48 return fX * a.fY - fY * a.fX;
52 return fX * a.fX + fY * a.fY;
60 return fX * fX + fY * fY;
66 double fY;
70 fY = pt.fY;
76 return a.fX == b.fX && a.fY == b.fY;
80 return a.fX != b.fX || a.fY != b.fY;
85 fY = pt.fY;
91 fY += v.fY;
96 fY -= v.fY;
100 // return approximately_equal(a.fY, fY) && approximately_equal(a.fX, fX);
103 if (approximately_equal(fX, a.fX) && approximately_equal(fY, a.fY)) {
106 if (!RoughlyEqualUlps(fX, a.fX) || !RoughlyEqualUlps(fY, a.fY)) {
110 double tiniest = SkTMin(SkTMin(SkTMin(fX, a.fX), fY), a.fY);
111 double largest = SkTMax(SkTMax(SkTMax(fX, a.fX), fY), a.fY);
123 if (approximately_equal(a.fX, b.fX) && approximately_equal(a.fY, b.fY)) {
126 if (!RoughlyEqualUlps(a.fX, b.fX) || !RoughlyEqualUlps(a.fY, b.fY)) {
133 float tiniest = SkTMin(SkTMin(SkTMin(a.fX, b.fX), a.fY), b.fY);
134 float largest = SkTMax(SkTMax(SkTMax(a.fX, b.fX), a.fY), b.fY);
140 if (approximately_equal(fX, a.fX) && approximately_equal(fY, a.fY)) {
143 if (!RoughlyEqualUlps(fX, a.fX) || !RoughlyEqualUlps(fY, a.fY)) {
147 double tiniest = SkTMin(SkTMin(SkTMin(fX, a.fX), fY), a.fY);
148 double largest = SkTMax(SkTMax(SkTMax(fX, a.fX), fY), a.fY);
154 return approximately_zero(fX) && approximately_zero(fY);
158 SkPoint pt = {SkDoubleToScalar(fX), SkDoubleToScalar(fY)};
175 result.fY = (a.fY + b.fY) / 2;
180 if (roughly_equal(fX, a.fX) && roughly_equal(fY, a.fY)) {
184 double tiniest = SkTMin(SkTMin(SkTMin(fX, a.fX), fY), a.fY);
185 double largest = SkTMax(SkTMax(SkTMax(fX, a.fX), fY), a.fY);
191 return roughly_equal(a.fY, fY) && roughly_equal(a.fX, fX);
199 DebugDumpDouble(fY);
207 DebugDumpFloat(pt.fY);