Lines Matching refs:bbox
117 Geom::OptInterval extents = _calculateStripExtents(iter->bbox);
299 Geom::OptInterval strip_extents = _calculateStripExtents(view_iter->bbox);
370 Geom::OptInterval extents = _calculateStripExtents(iter->bbox);
508 Inkscape::DrawingPattern *SPHatch::show(Inkscape::Drawing &drawing, unsigned int key, Geom::OptRect bbox)
513 _display.front().bbox = bbox;
517 Geom::OptInterval extents = _calculateStripExtents(bbox);
602 Geom::OptInterval extents = _calculateStripExtents(view.bbox);
611 if (view.bbox && (hatchUnits() == UNITS_OBJECTBOUNDINGBOX)) {
612 tile_x *= view.bbox->width();
613 tile_y *= view.bbox->height();
614 tile_width *= view.bbox->width();
615 tile_height *= view.bbox->height();
616 tile_render_y *= view.bbox->height();
622 // Content to bbox
624 if (view.bbox && (hatchContentUnits() == UNITS_OBJECTBOUNDINGBOX)) {
625 content2ps = Geom::Affine(view.bbox->width(), 0.0, 0.0, view.bbox->height(), 0, 0);
651 Geom::OptInterval SPHatch::_calculateStripExtents(Geom::OptRect const &bbox) const
653 if (!bbox || (bbox->area() == 0)) {
665 Geom::Point corner = bbox->corner(i);
676 extents /= bbox->height();
683 cairo_pattern_t* SPHatch::pattern_new(cairo_t * /*base_ct*/, Geom::OptRect const &/*bbox*/, double /*opacity*/)
690 void SPHatch::setBBox(unsigned int key, Geom::OptRect const &bbox)
694 iter->bbox = bbox;
720 bbox(),