Lines Matching refs:fBounds
142 fTop = fBottom = clip.fBounds.fBottom; in Iter()
155 fTop = clip.fBounds.fTop; in Iter()
156 fBottom = clip.fBounds.fTop + fCurrYOff->fY + 1; in Iter()
196 SkASSERT(fBounds.isEmpty()); in validate()
199 SkASSERT(!fBounds.isEmpty()); in validate()
207 const int lastY = fBounds.height() - 1; in validate()
219 size_t rowLength = compute_row_length(row, fBounds.width()); in validate()
253 const int width = fBounds.width(); in debug()
255 int y = fBounds.fTop; in debug()
363 const int width = fBounds.width(); in trimLeftRight()
399 fBounds.fLeft += leftZeros; in trimLeftRight()
400 fBounds.fRight -= riteZeros; in trimLeftRight()
401 SkASSERT(!fBounds.isEmpty()); in trimLeftRight()
439 const int width = fBounds.width(); in trimTopBottom()
473 fBounds.fTop += dy; in trimTopBottom()
474 SkASSERT(!fBounds.isEmpty()); in trimTopBottom()
498 fBounds.fBottom = fBounds.fTop + yoff->fY + 1; in trimTopBottom()
499 SkASSERT(!fBounds.isEmpty()); in trimTopBottom()
525 SkASSERT(lastY.fY + 1 <= fBounds.height()); in trimBounds()
526 fBounds.fBottom = fBounds.fTop + lastY.fY + 1; in trimBounds()
527 SkASSERT(lastY.fY + 1 == fBounds.height()); in trimBounds()
528 SkASSERT(!fBounds.isEmpty()); in trimBounds()
545 fBounds.setEmpty(); in SkAAClip()
550 SkDEBUGCODE(fBounds.setEmpty();) // need this for validate in SkAAClip()
565 fBounds = src.fBounds; in operator =()
581 if (a.fBounds != b.fBounds) { in operator ==()
608 swap(fBounds, other.fBounds); in swap()
619 fBounds.setEmpty(); in setEmpty()
639 fBounds = bounds; in setRect()
656 if (yoff->fY != fBounds.fBottom - 1) { in isRect()
661 int width = fBounds.width(); in isRect()
778 fBounds = bounds; in setRegion()
790 if (!y_in_rect(y, fBounds)) { in findRow()
793 y -= fBounds.y(); // our yoffs values are relative to the top in findRow()
802 *lastYForRow = fBounds.y() + yoff->fY; in findRow()
808 SkASSERT(x_in_rect(x, fBounds)); in findX()
809 x -= fBounds.x(); in findX()
830 if (!fBounds.contains(left, top, right, bottom)) { in quickContains()
866 SkIRect fBounds; member in SkAAClip::Builder
879 Builder(const SkIRect& bounds) : fBounds(bounds) { in Builder()
895 const SkIRect& getBounds() const { return fBounds; } in getBounds()
899 SkASSERT(fBounds.contains(x, y)); in addRun()
900 SkASSERT(fBounds.contains(x + count - 1, y)); in addRun()
902 x -= fBounds.left(); in addRun()
903 y -= fBounds.top(); in addRun()
918 SkASSERT(row->fWidth < fBounds.width()); in addRun()
926 SkASSERT(row->fWidth < fBounds.width()); in addRun()
931 SkASSERT(row->fWidth <= fBounds.width()); in addRun()
935 SkASSERT(fBounds.contains(x, y + height - 1)); in addColumn()
939 y -= fBounds.fTop; in addColumn()
945 SkASSERT(fBounds.contains(x + width - 1, y + height - 1)); in addRectRun()
952 y -= fBounds.fTop; in addRectRun()
962 SkASSERT(fBounds.contains(x + width + (rightAlpha > 0 ? 1 : 0), in addAntiRectRun()
992 y -= fBounds.fTop; in addAntiRectRun()
1014 SkASSERT(fMinY >= fBounds.fTop); in finish()
1015 SkASSERT(fMinY < fBounds.fBottom); in finish()
1016 int adjustY = fMinY - fBounds.fTop; in finish()
1017 fBounds.fTop = fMinY; in finish()
1037 size_t bytesNeeded = compute_row_length(data, fBounds.width()); in finish()
1046 target->fBounds = fBounds; in finish()
1629 if (b_empty || !SkIRect::Intersects(clipA->fBounds, clipB->fBounds)) { in op()
1632 bounds = clipA->fBounds; in op()
1636 if ((a_empty | b_empty) || !bounds.intersect(clipA->fBounds, in op()
1637 clipB->fBounds)) { in op()
1650 bounds = clipA->fBounds; in op()
1651 bounds.join(clipB->fBounds); in op()
1659 SkASSERT(SkIRect::Intersects(bounds, clipB->fBounds)); in op()
1660 SkASSERT(SkIRect::Intersects(bounds, clipB->fBounds)); in op()
1680 if (!rStorage.intersect(rOrig, fBounds)) { in op()
1684 if (rStorage == fBounds) { in op()
1697 if (rOrig.contains(fBounds)) { in op()
1714 boundsStorage.set(fBounds); in op()
1760 dst->fBounds = fBounds; in translate()
1762 dst->fBounds.offset(dx, dy); in translate()
1783 mask->fBounds.setEmpty(); in copyToMask()
1789 mask->fBounds = fBounds; in copyToMask()
1790 mask->fRowBytes = fBounds.width(); in copyToMask()
1796 const int width = fBounds.width(); in copyToMask()
1798 int y = fBounds.fTop; in copyToMask()
2061 const int width = srcMask.fBounds.width(); in upscaleBW2A8()
2062 const int height = srcMask.fBounds.height(); in upscaleBW2A8()
2112 grayMask.fBounds = origMask.fBounds; in blitMask()
2113 grayMask.fRowBytes = origMask.fBounds.width(); in blitMask()
2134 rowMask.fBounds.fLeft = clip.fLeft; in blitMask()
2135 rowMask.fBounds.fRight = clip.fRight; in blitMask()
2152 rowMask.fBounds.fTop = y; in blitMask()
2153 rowMask.fBounds.fBottom = y + 1; in blitMask()
2154 fBlitter->blitMask(rowMask, rowMask.fBounds); in blitMask()