Lines Matching refs:fBounds

136         fTop = fBottom = clip.fBounds.fBottom;
147 fTop = clip.fBounds.fTop;
148 fBottom = clip.fBounds.fTop + fCurrYOff->fY + 1;
188 SkASSERT(fBounds.isEmpty());
199 const int lastY = fBounds.height() - 1;
211 size_t rowLength = compute_row_length(row, fBounds.width());
394 const int width = fBounds.width();
425 fBounds.fLeft += leftZeros;
426 fBounds.fRight -= riteZeros;
427 SkASSERT(!fBounds.isEmpty());
465 const int width = fBounds.width();
487 // adjust fRowCount and fBounds.fTop, and slide all the data up
499 fBounds.fTop += dy;
500 SkASSERT(!fBounds.isEmpty());
524 fBounds.fBottom = fBounds.fTop + yoff->fY + 1;
525 SkASSERT(!fBounds.isEmpty());
536 // possible our fBounds.fBottom is bigger than our last scanline of data, so
537 // we trim fBounds.fBottom back up.
551 SkASSERT(lastY.fY + 1 <= fBounds.height());
552 fBounds.fBottom = fBounds.fTop + lastY.fY + 1;
553 SkASSERT(lastY.fY + 1 == fBounds.height());
554 SkASSERT(!fBounds.isEmpty());
571 fBounds.setEmpty();
576 SkDEBUGCODE(fBounds.setEmpty();) // need this for validate
591 fBounds = src.fBounds;
607 if (a.fBounds != b.fBounds) {
633 SkTSwap(fBounds, other.fBounds);
644 fBounds.setEmpty();
664 fBounds = bounds;
775 fBounds = bounds;
787 if (!y_in_rect(y, fBounds)) {
790 y -= fBounds.y(); // our yoffs values are relative to the top
799 *lastYForRow = fBounds.y() + yoff->fY;
805 SkASSERT(x_in_rect(x, fBounds));
806 x -= fBounds.x();
825 if (!fBounds.contains(left, top, right, bottom)) {
861 SkIRect fBounds;
874 Builder(const SkIRect& bounds) : fBounds(bounds) {
890 const SkIRect& getBounds() const { return fBounds; }
894 SkASSERT(fBounds.contains(x, y));
895 SkASSERT(fBounds.contains(x + count - 1, y));
897 x -= fBounds.left();
898 y -= fBounds.top();
913 SkASSERT(row->fWidth < fBounds.width());
921 SkASSERT(row->fWidth < fBounds.width());
926 SkASSERT(row->fWidth <= fBounds.width());
930 SkASSERT(fBounds.contains(x, y + height - 1));
934 y -= fBounds.fTop;
940 SkASSERT(fBounds.contains(x + width - 1, y + height - 1));
947 y -= fBounds.fTop;
954 SkASSERT(fBounds.contains(x + width - 1 +
980 y -= fBounds.fTop;
1001 SkASSERT(fMinY >= fBounds.fTop);
1002 SkASSERT(fMinY < fBounds.fBottom);
1003 int adjustY = fMinY - fBounds.fTop;
1004 fBounds.fTop = fMinY;
1024 size_t bytesNeeded = compute_row_length(data, fBounds.width());
1033 target->fBounds = fBounds;
1613 if (b_empty || !SkIRect::Intersects(clipA->fBounds, clipB->fBounds)) {
1616 bounds = clipA->fBounds;
1620 if ((a_empty | b_empty) || !bounds.intersect(clipA->fBounds,
1621 clipB->fBounds)) {
1634 bounds = clipA->fBounds;
1635 bounds.join(clipB->fBounds);
1643 SkASSERT(SkIRect::Intersects(bounds, clipB->fBounds));
1644 SkASSERT(SkIRect::Intersects(bounds, clipB->fBounds));
1664 if (!rStorage.intersect(rOrig, fBounds)) {
1668 if (rStorage == fBounds) {
1681 if (rOrig.contains(fBounds)) {
1698 boundsStorage.set(fBounds);
1739 dst->fBounds = fBounds;
1741 dst->fBounds.offset(dx, dy);
1762 mask->fBounds.setEmpty();
1768 mask->fBounds = fBounds;
1769 mask->fRowBytes = fBounds.width();
1775 const int width = fBounds.width();
1777 int y = fBounds.fTop;
2059 const int width = srcMask.fBounds.width();
2060 const int height = srcMask.fBounds.height();
2111 grayMask.fBounds = origMask.fBounds;
2112 grayMask.fRowBytes = origMask.fBounds.width();
2133 rowMask.fBounds.fLeft = clip.fLeft;
2134 rowMask.fBounds.fRight = clip.fRight;
2151 rowMask.fBounds.fTop = y;
2152 rowMask.fBounds.fBottom = y + 1;
2153 fBlitter->blitMask(rowMask, rowMask.fBounds);