Lines Matching defs:fTop

21     int32_t fLeft, fTop, fRight, fBottom;
60 int top() const { return fTop; }
67 int y() const { return fTop; }
78 int height() const { return fBottom - fTop; }
98 int centerY() const { return (fBottom + fTop) >> 1; }
103 bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; }
106 SK_MinS32 == fTop &&
119 return SkIsS16(fLeft) && SkIsS16(fTop) &&
129 fTop = top;
140 fTop = y;
149 fLeft = fTop = SK_MinS32;
158 fLeft = fTop = SK_MaxS32;
166 return MakeLTRB(fLeft + dx, fTop + dy, fRight + dx, fBottom + dy);
173 return MakeLTRB(fLeft + dx, fTop + dy, fRight - dx, fBottom - dy);
180 return MakeLTRB(fLeft - dx, fTop - dy, fRight + dx, fBottom + dy);
188 fTop += dy;
202 fBottom += newY - fTop;
204 fTop = newY;
213 fTop += dy;
226 return l >= fRight || fLeft >= r || t >= fBottom || fTop >= b;
236 (unsigned)(y - fTop) < (unsigned)(fBottom - fTop);
244 fLeft <= left && fTop <= top &&
252 fLeft <= r.fLeft && fTop <= r.fTop &&
268 SkASSERT(fLeft < fRight && fTop < fBottom);
271 return fLeft <= left && fTop <= top &&
276 return containsNoEmptyCheck(r.fLeft, r.fTop, r.fRight, r.fBottom);
284 return this->intersect(r.fLeft, r.fTop, r.fRight, r.fBottom);
295 a.fTop < b.fBottom && b.fTop < a.fBottom) {
297 fTop = SkMax32(a.fTop, b.fTop);
315 a.fTop < b.fBottom && b.fTop < a.fBottom) {
317 fTop = SkMax32(a.fTop, b.fTop);
333 fLeft < right && left < fRight && fTop < bottom && top < fBottom) {
335 if (fTop < top) fTop = top;
348 a.fTop < b.fBottom && b.fTop < a.fBottom;
358 a.fTop < b.fBottom && b.fTop < a.fBottom;
372 this->join(r.fLeft, r.fTop, r.fRight, r.fBottom);
391 SkScalar fLeft, fTop, fRight, fBottom;
439 SkIntToScalar(irect.fTop),
448 SkIntToScalar(irect.fTop),
457 bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; }
460 SK_ScalarMin == fTop &&
472 accum *= fTop;
485 SkScalar y() const { return fTop; }
487 SkScalar top() const { return fTop; }
491 SkScalar height() const { return fBottom - fTop; }
493 SkScalar centerY() const { return SkScalarHalf(fTop + fBottom); }
514 fTop = SkIntToScalar(src.fTop);
521 fTop = top;
535 fTop = SkIntToScalar(top);
545 fLeft = fTop = 0;
576 fTop = SkMinScalar(p0.fY, p1.fY);
582 fTop = y;
589 fTop = 0;
598 fLeft = fTop = SK_ScalarMin;
607 fLeft = fTop = SK_ScalarMax;
615 return MakeLTRB(fLeft + dx, fTop + dy, fRight + dx, fBottom + dy);
622 return MakeLTRB(fLeft + dx, fTop + dy, fRight - dx, fBottom - dy);
629 return MakeLTRB(fLeft - dx, fTop - dy, fRight + dx, fBottom + dy);
637 fTop += dy;
651 fBottom += newY - fTop;
653 fTop = newY;
663 fTop += dy;
713 return Intersects(fLeft, fTop, fRight, fBottom, left, top, right, bottom);
717 return Intersects(fLeft, fTop, fRight, fBottom,
718 r.fLeft, r.fTop, r.fRight, r.fBottom);
725 return Intersects(a.fLeft, a.fTop, a.fRight, a.fBottom,
726 b.fLeft, b.fTop, b.fRight, b.fBottom);
741 this->join(r.fLeft, r.fTop, r.fRight, r.fBottom);
747 if (fLeft >= fRight || fTop >= fBottom) {
760 fTop = SkMinScalar(fTop, r.top());
767 * following will be true: fLeft <= x <= fRight && fTop <= y <= fBottom.
771 * contains(x,y) -> fLeft <= x < fRight && fTop <= y < fBottom. Also note
777 fTop = SkMinScalar(y, fTop);
803 fLeft <= r.fLeft && fTop <= r.fTop &&
813 fLeft <= SkIntToScalar(r.fLeft) && fTop <= SkIntToScalar(r.fTop) &&
823 dst->set(SkScalarRoundToInt(fLeft), SkScalarRoundToInt(fTop),
841 dst->set(SkDScalarRoundToInt(fLeft), SkDScalarRoundToInt(fTop),
851 dst->set(SkScalarFloorToInt(fLeft), SkScalarFloorToInt(fTop),
863 SkScalarFloorToScalar(fTop),
876 dst->set(SkScalarCeilToInt(fLeft), SkScalarCeilToInt(fTop),
905 if (fTop > fBottom) {
906 SkTSwap<SkScalar>(fTop, fBottom);
922 (SkScalar)fLeft <= r.fLeft && (SkScalar)fTop <= r.fTop &&