Home | History | Annotate | Download | only in core

Lines Matching refs:bounds

31 bool SkRegion::ComputeRunBounds(const SkRegion::RunType runs[], int count, SkIRect* bounds)
46 bounds->set(runs[2], runs[0], runs[3], runs[1]);
54 bounds->fTop = *runs++;
68 bounds->fLeft = left;
69 bounds->fRight = rite;
70 bounds->fBottom = bot;
322 void SkRegion::BuildRectRuns(const SkIRect& bounds,
325 runs[0] = bounds.fTop;
326 runs[1] = bounds.fBottom;
327 runs[2] = bounds.fLeft;
328 runs[3] = bounds.fRight;
929 SkIRect bounds;
945 || !bounds.intersect(rgna->fBounds, rgnb->fBounds))
948 return this->setRect(bounds);
1052 static const SkRegion::RunType* validate_line(const SkRegion::RunType run[], const SkIRect& bounds)
1055 SkASSERT(*run > bounds.fTop);
1056 SkASSERT(*run <= bounds.fBottom);
1062 int prevRite = bounds.fLeft - 1;
1068 SkASSERT(rite <= bounds.fRight);
1095 // check that our bounds match our runs
1097 SkIRect bounds;
1098 bool isARect = ComputeRunBounds(run, stop - run, &bounds);
1100 SkASSERT(bounds == fBounds);