Lines Matching refs:fBounds
137 fTop = fBottom = clip.fBounds.fBottom; in Iter()
150 fTop = clip.fBounds.fTop; in Iter()
151 fBottom = clip.fBounds.fTop + fCurrYOff->fY + 1; in Iter()
191 SkASSERT(fBounds.isEmpty()); in validate()
194 SkASSERT(!fBounds.isEmpty()); in validate()
202 const int lastY = fBounds.height() - 1; in validate()
214 size_t rowLength = compute_row_length(row, fBounds.width()); in validate()
248 const int width = fBounds.width(); in debug()
250 int y = fBounds.fTop; in debug()
445 const int width = fBounds.width(); in trimLeftRight()
481 fBounds.fLeft += leftZeros; in trimLeftRight()
482 fBounds.fRight -= riteZeros; in trimLeftRight()
483 SkASSERT(!fBounds.isEmpty()); in trimLeftRight()
521 const int width = fBounds.width(); in trimTopBottom()
555 fBounds.fTop += dy; in trimTopBottom()
556 SkASSERT(!fBounds.isEmpty()); in trimTopBottom()
580 fBounds.fBottom = fBounds.fTop + yoff->fY + 1; in trimTopBottom()
581 SkASSERT(!fBounds.isEmpty()); in trimTopBottom()
607 SkASSERT(lastY.fY + 1 <= fBounds.height()); in trimBounds()
608 fBounds.fBottom = fBounds.fTop + lastY.fY + 1; in trimBounds()
609 SkASSERT(lastY.fY + 1 == fBounds.height()); in trimBounds()
610 SkASSERT(!fBounds.isEmpty()); in trimBounds()
627 fBounds.setEmpty(); in SkAAClip()
632 SkDEBUGCODE(fBounds.setEmpty();) // need this for validate in SkAAClip()
647 fBounds = src.fBounds; in operator =()
663 if (a.fBounds != b.fBounds) { in operator ==()
689 SkTSwap(fBounds, other.fBounds); in swap()
700 fBounds.setEmpty(); in setEmpty()
720 fBounds = bounds; in setRect()
737 if (yoff->fY != fBounds.fBottom - 1) { in isRect()
742 int width = fBounds.width(); in isRect()
859 fBounds = bounds; in setRegion()
871 if (!y_in_rect(y, fBounds)) { in findRow()
874 y -= fBounds.y(); // our yoffs values are relative to the top in findRow()
883 *lastYForRow = fBounds.y() + yoff->fY; in findRow()
889 SkASSERT(x_in_rect(x, fBounds)); in findX()
890 x -= fBounds.x(); in findX()
911 if (!fBounds.contains(left, top, right, bottom)) { in quickContains()
947 SkIRect fBounds; member in SkAAClip::Builder
960 Builder(const SkIRect& bounds) : fBounds(bounds) { in Builder()
976 const SkIRect& getBounds() const { return fBounds; } in getBounds()
980 SkASSERT(fBounds.contains(x, y)); in addRun()
981 SkASSERT(fBounds.contains(x + count - 1, y)); in addRun()
983 x -= fBounds.left(); in addRun()
984 y -= fBounds.top(); in addRun()
999 SkASSERT(row->fWidth < fBounds.width()); in addRun()
1007 SkASSERT(row->fWidth < fBounds.width()); in addRun()
1012 SkASSERT(row->fWidth <= fBounds.width()); in addRun()
1016 SkASSERT(fBounds.contains(x, y + height - 1)); in addColumn()
1020 y -= fBounds.fTop; in addColumn()
1026 SkASSERT(fBounds.contains(x + width - 1, y + height - 1)); in addRectRun()
1033 y -= fBounds.fTop; in addRectRun()
1043 SkASSERT(fBounds.contains(x + width + (rightAlpha > 0 ? 1 : 0), in addAntiRectRun()
1071 y -= fBounds.fTop; in addAntiRectRun()
1092 SkASSERT(fMinY >= fBounds.fTop); in finish()
1093 SkASSERT(fMinY < fBounds.fBottom); in finish()
1094 int adjustY = fMinY - fBounds.fTop; in finish()
1095 fBounds.fTop = fMinY; in finish()
1115 size_t bytesNeeded = compute_row_length(data, fBounds.width()); in finish()
1124 target->fBounds = fBounds; in finish()
1714 if (b_empty || !SkIRect::Intersects(clipA->fBounds, clipB->fBounds)) { in op()
1717 bounds = clipA->fBounds; in op()
1721 if ((a_empty | b_empty) || !bounds.intersect(clipA->fBounds, in op()
1722 clipB->fBounds)) { in op()
1735 bounds = clipA->fBounds; in op()
1736 bounds.join(clipB->fBounds); in op()
1744 SkASSERT(SkIRect::Intersects(bounds, clipB->fBounds)); in op()
1745 SkASSERT(SkIRect::Intersects(bounds, clipB->fBounds)); in op()
1765 if (!rStorage.intersect(rOrig, fBounds)) { in op()
1769 if (rStorage == fBounds) { in op()
1782 if (rOrig.contains(fBounds)) { in op()
1799 boundsStorage.set(fBounds); in op()
1845 dst->fBounds = fBounds; in translate()
1847 dst->fBounds.offset(dx, dy); in translate()
1868 mask->fBounds.setEmpty(); in copyToMask()
1874 mask->fBounds = fBounds; in copyToMask()
1875 mask->fRowBytes = fBounds.width(); in copyToMask()
1881 const int width = fBounds.width(); in copyToMask()
1883 int y = fBounds.fTop; in copyToMask()
2146 const int width = srcMask.fBounds.width(); in upscaleBW2A8()
2147 const int height = srcMask.fBounds.height(); in upscaleBW2A8()
2197 grayMask.fBounds = origMask.fBounds; in blitMask()
2198 grayMask.fRowBytes = origMask.fBounds.width(); in blitMask()
2219 rowMask.fBounds.fLeft = clip.fLeft; in blitMask()
2220 rowMask.fBounds.fRight = clip.fRight; in blitMask()
2237 rowMask.fBounds.fTop = y; in blitMask()
2238 rowMask.fBounds.fBottom = y + 1; in blitMask()
2239 fBlitter->blitMask(rowMask, rowMask.fBounds); in blitMask()