/inkscape/src/live_effects/ |
H A D | lpegroupbbox.cpp | 19 * It's not possible to run LPEs on items without their original-d having a bbox. 21 * @param absolute Determines whether the bbox should be calculated of the untransformed lpeitem (\c absolute = \c false) 36 Geom::OptRect bbox = lpeitem->geometricBounds(transform); local 37 if (bbox) { 38 boundingbox_X = (*bbox)[Geom::X]; 39 boundingbox_Y = (*bbox)[Geom::Y];
|
H A D | lpe-bounding-box.cpp | 42 Geom::OptRect bbox = visual_bounds.get_value() ? item->visualBounds() : item->geometricBounds(); local 43 Geom::Path p(Geom::Point(bbox->left(), bbox->top())); 44 p.appendNew<Geom::LineSegment>(Geom::Point(bbox->right(), bbox->top())); 45 p.appendNew<Geom::LineSegment>(Geom::Point(bbox->right(), bbox->bottom())); 46 p.appendNew<Geom::LineSegment>(Geom::Point(bbox->left(), bbox->bottom())); 47 p.appendNew<Geom::LineSegment>(Geom::Point(bbox [all...] |
H A D | lpe-simplify.h | 50 Geom::OptRect bbox; member in class:Inkscape::LivePathEffect::LPESimplify
|
/inkscape/src/libnrtype/ |
H A D | font-glyph.h | 10 double bbox[4]; // bbox of the path (and the artbpath), not the bbox of the glyph member in struct:font_glyph
|
/inkscape/src/ |
H A D | sp-linear-gradient.cpp | 90 cairo_pattern_t* SPLinearGradient::pattern_new(cairo_t * /*ct*/, Geom::OptRect const &bbox, double opacity) { argument 97 sp_gradient_pattern_common_setup(cp, this, bbox, opacity);
|
H A D | sp-radial-gradient.cpp | 144 cairo_pattern_t* SPRadialGradient::pattern_new(cairo_t *ct, Geom::OptRect const &bbox, double opacity) { argument 166 if (this->getUnits() == SP_GRADIENT_UNITS_OBJECTBOUNDINGBOX && bbox) { 167 Geom::Affine bbox2user(bbox->width(), 0, 0, bbox->height(), bbox->left(), bbox->top()); 203 sp_gradient_pattern_common_setup(cp, this, bbox, opacity);
|
H A D | sp-mesh.cpp | 124 Geom::OptRect const &bbox, 127 Geom::OptRect const & /*bbox*/, 136 std::cout << "sp_mesh_create_pattern: (" << bbox->x0 << "," << bbox->y0 << ") (" << bbox->x1 << "," << bbox->y1 << ") " << opacity << std::endl; 230 Geom::Affine bbox2user(bbox->width(), 0, 0, bbox->height(), bbox->left(), bbox 122 pattern_new(cairo_t * , Geom::OptRect const &bbox, double opacity ) argument [all...] |
H A D | print.cpp | 51 Geom::OptRect const &pbox, Geom::OptRect const &dbox, Geom::OptRect const &bbox) 53 return ctx->module->fill(pathv, ctm, style, pbox, dbox, bbox); 58 Geom::OptRect const &pbox, Geom::OptRect const &dbox, Geom::OptRect const &bbox) 60 return ctx->module->stroke(pathv, ctm, style, pbox, dbox, bbox); 50 sp_print_fill(SPPrintContext *ctx, Geom::PathVector const &pathv, Geom::Affine const &ctm, SPStyle const *style, Geom::OptRect const &pbox, Geom::OptRect const &dbox, Geom::OptRect const &bbox) argument 57 sp_print_stroke(SPPrintContext *ctx, Geom::PathVector const &pathv, Geom::Affine const &ctm, SPStyle const *style, Geom::OptRect const &pbox, Geom::OptRect const &dbox, Geom::OptRect const &bbox) argument
|
H A D | sp-hatch.h | 86 Inkscape::DrawingPattern *show(Inkscape::Drawing &drawing, unsigned int key, Geom::OptRect bbox); 88 virtual cairo_pattern_t* pattern_new(cairo_t *ct, Geom::OptRect const &bbox, double opacity); 92 void setBBox(unsigned int key, Geom::OptRect const &bbox); 111 Geom::OptRect bbox; member in class:SPHatch::View 124 Geom::OptInterval _calculateStripExtents(Geom::OptRect const &bbox) const;
|
H A D | pure-transform.cpp | 21 Geom::Rect bbox; local 31 bbox = Geom::Rect(transformed, transformed); 33 bbox.expandTo(transformed); 66 Inkscape::SnappedPoint snapped_point = snap(sm, *j, (*i).getPoint(), bbox); // Calls the snap() method of the derived classes
|
H A D | sp-symbol.cpp | 136 Geom::OptRect SPSymbol::bbox(Geom::Affine const &transform, SPItem::BBoxType type) const { function in class:SPSymbol 137 Geom::OptRect bbox; local 143 bbox = SPGroup::bbox(a, type); 146 return bbox;
|
H A D | snap-candidate.h | 33 SnapCandidatePoint(Geom::Point const &point, Inkscape::SnapSourceType const source, long const source_num, Inkscape::SnapTargetType const target, Geom::OptRect const &bbox) argument 38 _target_bbox(bbox), 133 SnapCandidatePath(Geom::PathVector* path, SnapTargetType target, Geom::OptRect bbox, bool edited = false) argument 134 : path_vector(path), target_type(target), target_bbox(bbox), currently_being_edited(edited) {};
|
H A D | sp-item-transform.cpp | 34 // Restore the center position (it's changed because the bbox center changed) 43 Geom::OptRect bbox = item->desktopVisualBounds(); local 44 if (bbox) { 45 Geom::Translate const s(bbox->midpoint()); // use getCenter? 62 // Restore the center position (it's changed because the bbox center changed) 194 } else if (!transform_stroke && !preserve) { // scale the geometric bbox with constant stroke 356 } else if (!transform_stroke && !preserve) { // scale the geometric bbox with constant stroke
|
H A D | sp-clippath.cpp | 37 Geom::OptRect bbox; member in struct:SPClipPathView 152 if (this->clipPathUnits == SP_CONTENT_UNITS_OBJECTBOUNDINGBOX && v->bbox) { 153 Geom::Affine t = Geom::Scale(v->bbox->dimensions()); 154 t.setTranslation(v->bbox->min()); 214 if (clipPathUnits == SP_CONTENT_UNITS_OBJECTBOUNDINGBOX && display->bbox) { 215 Geom::Affine t = Geom::Scale(display->bbox->dimensions()); 216 t.setTranslation(display->bbox->min()); 243 void SPClipPath::setBBox(unsigned int key, Geom::OptRect const &bbox) { argument 246 v->bbox = bbox; 253 Geom::OptRect bbox; local [all...] |
H A D | sp-hatch-path.cpp | 196 Geom::OptRect bbox; local 204 bbox = bounds_exact_transformed(test_curve.get_pathvector(), transform); 206 bbox = bounds_exact_transformed(_curve->get_pathvector(), transform); 210 result.setMin(bbox->left() - stroke_width / 2); 211 result.setMax(bbox->right() + stroke_width / 2);
|
H A D | sp-marker.cpp | 306 Geom::OptRect SPMarker::bbox(Geom::Affine const &/*transform*/, SPItem::BBoxType /*type*/) const { function in class:SPMarker
|
H A D | sp-mask.cpp | 34 Geom::OptRect bbox; member in struct:SPMaskView 158 if (this->maskContentUnits == SP_CONTENT_UNITS_OBJECTBOUNDINGBOX && v->bbox) { 159 Geom::Affine t = Geom::Scale(v->bbox->dimensions()); 160 t.setTranslation(v->bbox->min()); 247 if (this->maskContentUnits == SP_CONTENT_UNITS_OBJECTBOUNDINGBOX && this->display->bbox) { 248 Geom::Affine t = Geom::Scale(this->display->bbox->dimensions()); 249 t.setTranslation(this->display->bbox->min()); 277 void SPMask::sp_mask_set_bbox(unsigned int key, Geom::OptRect const &bbox) { argument 280 v->bbox = bbox; [all...] |
/inkscape/src/display/ |
H A D | nr-filter-offset.cpp | 49 Geom::OptRect bbox = slot.get_units().get_item_bbox(); local 50 if( bbox ) { 51 x *= (*bbox).width(); 52 y *= (*bbox).height();
|
H A D | snap-indicator.cpp | 319 Geom::OptRect const bbox = p.getTargetBBox(); member in class:Inkscape::Display::Geom 320 if (bbox) { 325 SP_CTRLRECT(box)->setRectangle(*bbox);
|
H A D | nr-filter-units.cpp | 49 void FilterUnits::set_item_bbox(Geom::OptRect const &bbox) { argument 50 item_bbox = bbox;
|
H A D | canvas-bpath.cpp | 86 Geom::OptRect bbox = bounds_exact_transformed(cbp->curve->get_pathvector(), affine); local 88 if (bbox) { 89 item->x1 = (int)bbox->min()[Geom::X] - 1; 90 item->y1 = (int)bbox->min()[Geom::Y] - 1; 91 item->x2 = (int)bbox->max()[Geom::X] + 1; 92 item->y2 = (int)bbox->max()[Geom::Y] + 1;
|
/inkscape/src/extension/ |
H A D | print.cpp | 80 Geom::OptRect const &pbox, Geom::OptRect const &dbox, Geom::OptRect const &bbox) 82 return imp->fill (this, pathv, ctm, style, pbox, dbox, bbox); 87 Geom::OptRect const &pbox, Geom::OptRect const &dbox, Geom::OptRect const &bbox) 89 return imp->stroke (this, pathv, ctm, style, pbox, dbox, bbox); 79 fill(Geom::PathVector const &pathv, Geom::Affine const &ctm, SPStyle const *style, Geom::OptRect const &pbox, Geom::OptRect const &dbox, Geom::OptRect const &bbox) argument 86 stroke(Geom::PathVector const &pathv, Geom::Affine const &ctm, SPStyle const *style, Geom::OptRect const &pbox, Geom::OptRect const &dbox, Geom::OptRect const &bbox) argument
|
/inkscape/src/libavoid/ |
H A D | shape.cpp | 208 void ShapeRef::boundingBox(BBox& bbox) argument 212 bbox.a = bbox.b = _poly.ps[0]; 213 Point& a = bbox.a; 214 Point& b = bbox.b;
|
/inkscape/src/extension/internal/filter/ |
H A D | blurs.h | 78 std::ostringstream bbox; local 87 bbox << "height=\"1\" width=\"1\" y=\"0\" x=\"0\""; 91 bbox << "" ; 100 "</filter>\n", bbox.str().c_str(), hblur.str().c_str(), vblur.str().c_str(), content.str().c_str() );
|
/inkscape/src/ui/widget/ |
H A D | object-composite-settings.cpp | 116 Geom::OptRect bbox = _subject->getBounds(SPItem::GEOMETRIC_BBOX); local 118 if (bbox) { 119 double perimeter = bbox->dimensions()[Geom::X] + bbox->dimensions()[Geom::Y]; // fixme: this is only half the perimeter, is that correct? 265 Geom::OptRect bbox = _subject->getBounds(SPItem::GEOMETRIC_BBOX); local 266 if (bbox) { 267 double perimeter = bbox->dimensions()[Geom::X] + bbox->dimensions()[Geom::Y]; // fixme: this is only half the perimeter, is that correct?
|