Lines Matching full:bounds
60 bool SkRegion::ComputeRunBounds(const SkRegion::RunType runs[], int count, SkIRect* bounds)
75 bounds->set(runs[2], runs[0], runs[3], runs[1]);
83 bounds->fTop = *runs++;
97 bounds->fLeft = left;
98 bounds->fRight = rite;
99 bounds->fBottom = bot;
337 void SkRegion::BuildRectRuns(const SkIRect& bounds,
340 runs[0] = bounds.fTop;
341 runs[1] = bounds.fBottom;
342 runs[2] = bounds.fLeft;
343 runs[3] = bounds.fRight;
945 SkIRect bounds;
961 || !bounds.intersect(rgna->fBounds, rgnb->fBounds))
964 return this->setRect(bounds);
1061 static const SkRegion::RunType* validate_line(const SkRegion::RunType run[], const SkIRect& bounds)
1064 SkASSERT(*run > bounds.fTop);
1065 SkASSERT(*run <= bounds.fBottom);
1071 int prevRite = bounds.fLeft - 1;
1077 SkASSERT(rite <= bounds.fRight);
1104 // check that our bounds match our runs
1106 SkIRect bounds;
1107 bool isARect = ComputeRunBounds(run, stop - run, &bounds);
1109 SkASSERT(bounds == fBounds);