Lines Matching refs:fX
26 int32_t fX; //!< x-axis value member
43 constexpr int32_t x() const { return fX; } in x()
55 bool isZero() const { return (fX | fY) == 0; } in isZero()
63 fX = x; in set()
72 return {-fX, -fY};
80 fX = Sk32_sat_add(fX, v.fX);
89 fX = Sk32_sat_sub(fX, v.fX);
100 return fX == x && fY == y; in equals()
110 return a.fX == b.fX && a.fY == b.fY;
120 return a.fX != b.fX || a.fY != b.fY;
132 return { Sk32_sat_sub(a.fX, b.fX), Sk32_sat_sub(a.fY, b.fY) };
146 return { Sk32_sat_add(a.fX, b.fX), Sk32_sat_add(a.fY, b.fY) };
161 SkScalar fX; //!< x-axis value member
178 constexpr SkScalar x() const { return fX; } in x()
190 bool isZero() const { return (0 == fX) & (0 == fY); } in isZero()
198 fX = x; in set()
212 fX = SkIntToScalar(x); in iset()
225 fX = SkIntToScalar(p.fX); in iset()
234 fX = SkScalarAbs(pt.fX); in setAbs()
245 Offset(points, count, offset.fX, offset.fY); in Offset()
267 fX += dx; in offset()
279 SkScalar length() const { return SkPoint::Length(fX, fY); } in length()
355 fX = -fX; in negate()
364 return {-fX, -fY};
372 fX += v.fX;
381 fX -= v.fX;
391 return {fX * scale, fY * scale};
400 fX *= scale;
411 accum *= fX; in isFinite()
429 return fX == x && fY == y; in equals()
439 return a.fX == b.fX && a.fY == b.fY;
449 return a.fX != b.fX || a.fY != b.fY;
462 return {a.fX - b.fX, a.fY - b.fY};
476 return {a.fX + b.fX, a.fY + b.fY};
515 return Length(a.fX - b.fX, a.fY - b.fY); in Distance()
525 return a.fX * b.fX + a.fY * b.fY; in DotProduct()
539 return a.fX * b.fY - a.fY * b.fX; in CrossProduct()