Home | History | Annotate | Download | only in Intersection

Lines Matching full:bounds

510         SkRect& bounds) {
513 bounds.fLeft = bounds.fRight = dst[0].fX;
514 bounds.fTop = bounds.fBottom = dst[0].fY;
516 bounds.growToInclude(dst[index].fX, dst[index].fY);
521 SkRect& bounds) {
524 bounds.fLeft = bounds.fRight = dst[0].fX;
525 bounds.fTop = bounds.fBottom = dst[0].fY;
527 bounds.growToInclude(dst[index].fX, dst[index].fY);
998 // Bounds, unlike Rect, does not consider a line to be empty.
999 struct Bounds : public SkRect {
1000 static bool Intersects(const Bounds& a, const Bounds& b) {
1020 void add(const Bounds& toAdd) {
1065 static void (Bounds::*setSegmentBounds[])(const SkPoint[]) = {
1067 &Bounds::setLineBounds,
1068 &Bounds::setQuadBounds,
1069 &Bounds::setCubicBounds
2092 const Bounds& bounds() const {
2943 Bounds bounds;
2944 next->subDivideBounds(angle->end(), angle->start(), bounds);
2945 if (approximately_greater(top, bounds.fTop)) {
2946 top = bounds.fTop;
3617 // find bounds
3618 Bounds bounds;
3619 bounds.setPoint(xyAtT(index));
3620 bounds.add(xyAtT(endIndex));
3621 SkScalar width = bounds.width();
3622 SkScalar height = bounds.height();
3861 void subDivideBounds(int start, int end, Bounds& bounds) const {
3864 (bounds.*setSegmentBounds[fVerb])(edge);
4474 Bounds fBounds;
4571 const Bounds& bounds() const {
5018 fBounds = fSegments.front().bounds();
5020 fBounds.add(fSegments[index].bounds());
5030 Bounds fBounds;
5271 return bounds().fBottom;
5274 const Bounds& bounds() const {
5275 return fContour->segments()[fIndex].bounds();
5300 return bounds().fLeft;
5320 return bounds().fRight;
5348 return bounds().fTop;
5356 return bounds().fLeft;
5364 return bounds().fTop;
5543 if (test->bounds().fBottom < next->bounds().fTop) {
5546 if (!Bounds::Intersects(test->bounds(), next->bounds())) {
5560 if (!Bounds::Intersects(wt.bounds(), wn.bounds())) {
5840 if (basePt.fY < contour->bounds().fTop) {
5843 if (bestY > contour->bounds().fBottom) {
6082 const Bounds& bounds = contour->bounds();
6083 if (bounds.fBottom < topLeft.fY) {
6087 if (bounds.fBottom == topLeft.fY && bounds.fRight < topLeft.fX) {