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; }
96 int centerY() const { return (fBottom + fTop) >> 1; }
101 bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; }
104 SK_MinS32 == fTop &&
117 return SkIsS16(fLeft) && SkIsS16(fTop) &&
127 fTop = top;
138 fTop = y;
147 fLeft = fTop = SK_MinS32;
156 fLeft = fTop = SK_MaxS32;
164 return MakeLTRB(fLeft + dx, fTop + dy, fRight + dx, fBottom + dy);
171 return MakeLTRB(fLeft + dx, fTop + dy, fRight - dx, fBottom - dy);
179 fTop += dy;
193 fBottom += newY - fTop;
195 fTop = newY;
204 fTop += dy;
217 return l >= fRight || fLeft >= r || t >= fBottom || fTop >= b;
227 (unsigned)(y - fTop) < (unsigned)(fBottom - fTop);
235 fLeft <= left && fTop <= top &&
243 fLeft <= r.fLeft && fTop <= r.fTop &&
255 SkASSERT(fLeft < fRight && fTop < fBottom);
258 return fLeft <= left && fTop <= top &&
263 return containsNoEmptyCheck(r.fLeft, r.fTop, r.fRight, r.fBottom);
272 return this->intersect(r.fLeft, r.fTop, r.fRight, r.fBottom);
284 a.fTop < b.fBottom && b.fTop < a.fBottom) {
286 fTop = SkMax32(a.fTop, b.fTop);
305 a.fTop < b.fBottom && b.fTop < a.fBottom) {
307 fTop = SkMax32(a.fTop, b.fTop);
322 fLeft < right && left < fRight && fTop < bottom && top < fBottom) {
324 if (fTop < top) fTop = top;
337 a.fTop < b.fBottom && b.fTop < a.fBottom;
347 a.fTop < b.fBottom && b.fTop < a.fBottom;
361 this->join(r.fLeft, r.fTop, r.fRight, r.fBottom);
380 SkScalar fLeft, fTop, fRight, fBottom;
422 SkIntToScalar(irect.fTop),
431 SkIntToScalar(irect.fTop),
440 bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; }
443 SK_ScalarMin == fTop &&
455 accum *= fTop;
468 SkScalar y() const { return fTop; }
470 SkScalar top() const { return fTop; }
474 SkScalar height() const { return fBottom - fTop; }
476 SkScalar centerY() const { return SkScalarHalf(fTop + fBottom); }
497 fTop = SkIntToScalar(src.fTop);
504 fTop = top;
518 fTop = SkIntToScalar(top);
528 fLeft = fTop = 0;
559 fTop = SkMinScalar(p0.fY, p1.fY);
565 fTop = y;
572 fTop = 0;
581 fLeft = fTop = SK_ScalarMin;
590 fLeft = fTop = SK_ScalarMax;
598 return MakeLTRB(fLeft + dx, fTop + dy, fRight + dx, fBottom + dy);
605 return MakeLTRB(fLeft + dx, fTop + dy, fRight - dx, fBottom - dy);
613 fTop += dy;
627 fBottom += newY - fTop;
629 fTop = newY;
639 fTop += dy;
672 fLeft < fRight && fTop < fBottom &&
675 fTop < bottom && top < fBottom;
690 a.fTop < b.fBottom && b.fTop < a.fBottom;
705 this->join(r.fLeft, r.fTop, r.fRight, r.fBottom);
712 * following will be true: fLeft <= x <= fRight && fTop <= y <= fBottom.
716 * contains(x,y) -> fLeft <= x < fRight && fTop <= y < fBottom. Also note
722 fTop = SkMinScalar(y, fTop);
748 fLeft <= r.fLeft && fTop <= r.fTop &&
758 dst->set(SkScalarRoundToInt(fLeft), SkScalarRoundToInt(fTop),
776 dst->set(SkDScalarRoundToInt(fLeft), SkDScalarRoundToInt(fTop),
786 dst->set(SkScalarFloorToInt(fLeft), SkScalarFloorToInt(fTop),
797 SkScalarFloorToScalar(fTop),
810 dst->set(SkScalarCeilToInt(fLeft), SkScalarCeilToInt(fTop),
843 SkDebugf("{ l: %f, t: %f, r: %f, b: %f }", fLeft, fTop, fRight, fBottom);