• Home
  • Raw
  • Download

Lines Matching refs:fY

14     return AlmostEqualUlps(pt1.fX, pt2.fX) && AlmostEqualUlps(pt1.fY, pt2.fY);  in AlmostEqualUlps()
19 double fY; member
23 fY = pt.fY; in set()
29 fY += v.fY;
35 fY -= v.fY;
41 fY /= s;
47 fY *= s;
51 SkVector v = {SkDoubleToScalar(fX), SkDoubleToScalar(fY)}; in asSkVector()
57 return fX * a.fY - fY * a.fX; in cross()
62 double xy = fX * a.fY; in crossCheck()
63 double yx = fY * a.fX; in crossCheck()
68 return fX * a.fX + fY * a.fY; in dot()
76 return fX * fX + fY * fY; in lengthSquared()
82 double fY; member
86 fY = pt.fY; in set()
92 return a.fX == b.fX && a.fY == b.fY;
96 return a.fX != b.fX || a.fY != b.fY;
101 fY = pt.fY;
107 fY += v.fY;
113 fY -= v.fY;
134 if (approximately_equal(fX, a.fX) && approximately_equal(fY, a.fY)) { in approximatelyEqual()
137 if (!RoughlyEqualUlps(fX, a.fX) || !RoughlyEqualUlps(fY, a.fY)) { in approximatelyEqual()
141 double tiniest = SkTMin(SkTMin(SkTMin(fX, a.fX), fY), a.fY); in approximatelyEqual()
142 double largest = SkTMax(SkTMax(SkTMax(fX, a.fX), fY), a.fY); in approximatelyEqual()
154 if (approximately_equal(a.fX, b.fX) && approximately_equal(a.fY, b.fY)) { in ApproximatelyEqual()
157 if (!RoughlyEqualUlps(a.fX, b.fX) || !RoughlyEqualUlps(a.fY, b.fY)) { in ApproximatelyEqual()
164 float tiniest = SkTMin(SkTMin(SkTMin(a.fX, b.fX), a.fY), b.fY); in ApproximatelyEqual()
165 float largest = SkTMax(SkTMax(SkTMax(a.fX, b.fX), a.fY), b.fY); in ApproximatelyEqual()
172 return approximately_zero(fX) && approximately_zero(fY); in approximatelyZero()
176 SkPoint pt = {SkDoubleToScalar(fX), SkDoubleToScalar(fY)}; in asSkPoint()
193 result.fY = (a.fY + b.fY) / 2; in Mid()
198 if (roughly_equal(fX, a.fX) && roughly_equal(fY, a.fY)) { in roughlyEqual()
202 double tiniest = SkTMin(SkTMin(SkTMin(fX, a.fX), fY), a.fY); in roughlyEqual()
203 double largest = SkTMax(SkTMax(SkTMax(fX, a.fX), fY), a.fY); in roughlyEqual()
209 if (!RoughlyEqualUlps(a.fX, b.fX) && !RoughlyEqualUlps(a.fY, b.fY)) { in RoughlyEqual()
216 float tiniest = SkTMin(SkTMin(SkTMin(a.fX, b.fX), a.fY), b.fY); in RoughlyEqual()
217 float largest = SkTMax(SkTMax(SkTMax(a.fX, b.fX), a.fY), b.fY); in RoughlyEqual()