Lines Matching refs:bbox

31 /* Fast bbox calculation */
34 cubic_bbox (Geom::Coord x000, Geom::Coord y000, Geom::Coord x001, Geom::Coord y001, Geom::Coord x011, Geom::Coord y011, Geom::Coord x111, Geom::Coord y111, Geom::Rect &bbox)
38 bbox[0].expandTo(x111);
39 bbox[1].expandTo(y111);
45 bool containsXrange = bbox[0].contains(x001) && bbox[0].contains(x011);
46 bool containsYrange = bbox[1].contains(y001) && bbox[1].contains(y011);
81 bbox[0].expandTo(xttt);
95 bbox[0].expandTo(xttt);
101 bbox[0].expandTo(xttt);
120 bbox[1].expandTo(yttt);
134 bbox[1].expandTo(yttt);
140 bbox[1].expandTo(yttt);
161 Geom::Rect bbox(initial, initial); // obtain well defined bbox as starting point to unionWith
164 bbox.expandTo(it->initialPoint() * t);
166 // don't loop including closing segment, since that segment can never increase the bbox
176 bbox.expandTo(c.finalPoint() * t);
179 // cubic and then taking the bbox of that.
187 cubic_bbox(c0[0], c0[1], c1[0], c1[1], c2[0], c2[1], c3[0], c3[1], bbox);
191 bbox.unionWith( ctemp->boundsExact());
197 return bbox;
264 Geom::Rect *bbox, int *wind, Geom::Coord *best,
276 if (bbox) cubic_bbox (x000, y000, x001, y001, x011, y011, x111, y111, *bbox);
299 /* Point is inside sloppy bbox */
350 Geom::Rect *bbox, int *wind, Geom::Coord *dist,
360 if (bbox) {
361 bbox->expandTo(pe);
380 // get approximate bbox from handles (convex hull property of beziers):
391 bbox, wind, dist, tolerance);
405 geom_curve_bbox_wind_distance(*iter, m, pt, bbox, wind, dist, tolerance, viewbox, p0);
412 Returns bounding box in *bbox if bbox!=NULL.
416 Geom::Rect *bbox, int *wind, Geom::Coord *dist,
441 if (bbox) {
442 bbox->expandTo(p0);
447 geom_curve_bbox_wind_distance(*cit, m, pt, bbox, wind, dist, tolerance, viewbox, p0);