Lines Matching refs:fY
19 int16_t fX, fY; member
28 int16_t y() const { return fY; } in y()
32 fY = SkToS16(y); in set()
41 int32_t fX, fY; member
50 int32_t y() const { return fY; } in y()
52 void setY(int32_t y) { fY = y; } in setY()
57 bool isZero() const { return (fX | fY) == 0; } in isZero()
62 void setZero() { fX = fY = 0; } in setZero()
65 void set(int32_t x, int32_t y) { fX = x; fY = y; } in set()
89 void negate() { fX = -fX; fY = -fY; } in negate()
97 neg.fY = -fY;
104 fY += v.fY;
110 fY -= v.fY;
115 return fX == x && fY == y; in equals()
119 return a.fX == b.fX && a.fY == b.fY;
123 return a.fX != b.fX || a.fY != b.fY;
131 v.set(a.fX - b.fX, a.fY - b.fY);
139 v.set(a.fX + b.fX, a.fY + b.fY);
146 return a.fX * b.fX + a.fY * b.fY; in DotProduct()
152 return a.fX * b.fY - a.fY * b.fX; in CrossProduct()
157 SkScalar fX, fY; member
166 SkScalar y() const { return fY; } in y()
171 bool isZero() const { return (0 == fX) & (0 == fY); } in isZero()
174 void set(SkScalar x, SkScalar y) { fX = x; fY = y; } in set()
181 fY = SkIntToScalar(y); in iset()
189 fY = SkIntToScalar(p.fY); in iset()
194 fY = SkScalarAbs(pt.fY); in setAbs()
227 Offset(points, count, offset.fX, offset.fY); in Offset()
238 fY += dy; in offset()
243 SkScalar length() const { return SkPoint::Length(fX, fY); } in length()
256 return CanNormalize(fX, fY); in canNormalize()
325 fY = -fY; in negate()
333 neg.fY = -fY;
341 fY += v.fY;
348 fY -= v.fY;
352 return Make(fX * scale, fY * scale);
357 fY *= scale;
367 accum *= fY; in isFinite()
381 return fX == x && fY == y; in equals()
385 return a.fX == b.fX && a.fY == b.fY;
389 return a.fX != b.fX || a.fY != b.fY;
402 return !CanNormalize(fX - p.fX, fY - p.fY); in equalsWithinTolerance()
411 && SkScalarNearlyZero(fY - p.fY, tol); in equalsWithinTolerance()
419 v.set(a.fX - b.fX, a.fY - b.fY);
427 v.set(a.fX + b.fX, a.fY + b.fY);
449 return Length(a.fX - b.fX, a.fY - b.fY); in Distance()
455 return a.fX * b.fX + a.fY * b.fY; in DotProduct()
461 return a.fX * b.fY - a.fY * b.fX; in CrossProduct()
478 SkScalar dy = fY - pt.fY; in distanceToSqd()
535 fX = -vec.fY;
536 fY = tmp;
539 fX = vec.fY;
540 fY = -tmp;