/inkscape/src/live_effects/ |
H A D | lpe-circle_with_radius.cpp | 22 using namespace Geom; 41 Geom::PathVector 42 LPECircleWithRadius::doEffect_path (Geom::PathVector const & path_in) 44 Geom::PathVector path_out = Geom::PathVector(); 46 Geom::Point center = path_in[0].initialPoint(); 47 Geom::Point pt = path_in[0].finalPoint(); 49 double radius = Geom::L2(pt - center); 51 Geom::Circle c(center, radius); 52 return Geom [all...] |
H A D | lpegroupbbox.cpp | 28 Geom::Affine transform; 33 transform = Geom::identity(); 36 Geom::OptRect bbox = lpeitem->geometricBounds(transform); 38 boundingbox_X = (*bbox)[Geom::X]; 39 boundingbox_Y = (*bbox)[Geom::Y]; 41 boundingbox_X = Geom::Interval(); 42 boundingbox_Y = Geom::Interval();
|
H A D | lpe-skeleton.cpp | 65 Geom::PathVector 66 LPESkeleton::doEffect_path (Geom::PathVector const & path_in) 68 Geom::PathVector path_out; 76 Geom::Piecewise<Geom::D2<Geom::SBasis> > 77 LPESkeleton::doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_in) 79 Geom [all...] |
H A D | lpe-recursiveskeleton.h | 27 virtual Geom::Piecewise<Geom::D2<Geom::SBasis> > doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_in);
|
H A D | lpe-skeleton.h | 39 // virtual Geom::PathVector doEffect_path (Geom::PathVector const &path_in); 40 virtual Geom::Piecewise<Geom::D2<Geom::SBasis> > doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const &pwd2_in);
|
H A D | lpe-text_label.h | 28 virtual Geom::Piecewise<Geom::D2<Geom::SBasis> > doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_in);
|
H A D | lpe-test-doEffect-stack.h | 30 virtual Geom::PathVector doEffect_path (Geom::PathVector const & path_in); 31 virtual Geom::Piecewise<Geom::D2<Geom::SBasis> > doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_in);
|
H A D | lpe-transform_2pts.h | 32 virtual Geom::Piecewise<Geom::D2<Geom::SBasis> > doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_in); 40 size_t nodeCount(Geom::PathVector pathvector) const; 42 Geom::Point pointAtNodeIndex(Geom::PathVector pathvector, size_t index) const; 44 Geom [all...] |
H A D | lpe-rough-hatches.h | 31 virtual Geom::Piecewise<Geom::D2<Geom::SBasis> > 32 doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_in); 39 generateLevels(Geom::Interval const &domain, double x_org); 41 std::vector<std::vector<Geom::Point> > 42 linearSnake(Geom::Piecewise<Geom [all...] |
H A D | lpe-interpolate.cpp | 41 number_of_steps.param_set_range(2, Geom::infinity()); 52 Geom::PathVector 53 LPEInterpolate::doEffect_path (Geom::PathVector const & path_in) 63 Geom::PathVector path_out; 65 Geom::Piecewise<Geom::D2<Geom::SBasis> > pwd2_A = path_in[0].toPwSb(); 66 Geom::Piecewise<Geom::D2<Geom [all...] |
/inkscape/src/display/ |
H A D | drawing-surface.h | 33 explicit DrawingSurface(Geom::IntRect const &area); 34 DrawingSurface(Geom::Rect const &logbox, Geom::IntPoint const &pixdims); 35 DrawingSurface(cairo_surface_t *surface, Geom::Point const &origin); 38 Geom::Rect area() const; 39 Geom::IntPoint pixels() const; 40 Geom::Point dimensions() const; 41 Geom::Point origin() const; 42 Geom::Scale scale() const; 43 Geom [all...] |
H A D | nr-filter-units.h | 43 void set_ctm(Geom::Affine const &ctm); 53 void set_item_bbox(Geom::OptRect const &bbox); 58 void set_filter_area(Geom::OptRect const &area); 76 Geom::OptRect get_item_bbox() const { return item_bbox; }; 81 Geom::OptRect get_filter_area() const { return filter_area; }; 96 Geom::Affine get_matrix_user2pb() const; 101 Geom::Affine get_matrix_filterunits2pb() const; 106 Geom::Affine get_matrix_primitiveunits2pb() const; 112 Geom::Affine get_matrix_display2pb() const; 118 Geom [all...] |
H A D | drawing-pattern.h | 40 void setPatternToUserTransform(Geom::Affine const &new_trans); 44 void setTileRect(Geom::Rect const &tile_rect); 51 void setOverflow(Geom::Affine initial_transform, int steps, Geom::Affine step_transform); 59 virtual unsigned _updateItem(Geom::IntRect const &area, UpdateContext const &ctx, 62 Geom::Affine *_pattern_to_user; 63 Geom::Affine _overflow_initial_transform; 64 Geom::Affine _overflow_step_transform; 66 Geom::OptRect _tile_rect; 68 Geom [all...] |
H A D | curve-test.h | 10 Geom::Path path1; 11 Geom::Path path2; 12 Geom::Path path3; 13 Geom::Path path4; 16 CurveTest() : path4(Geom::Point(3,5)) // Just a moveto 19 path1.append(Geom::LineSegment(Geom::Point(0,0),Geom::Point(1,0))); 20 path1.append(Geom::LineSegment(Geom [all...] |
/inkscape/src/ |
H A D | snapped-point.h | 30 SnappedPoint(Geom::Point const &p); 31 SnappedPoint(Geom::Point const &p, SnapSourceType const &source, long source_num, SnapTargetType const &target, Geom::Coord const &d, Geom::Coord const &t, bool const &a, bool const &at_intersection, bool const &constrained_snap, bool const &fully_constrained, Geom::Coord const &d2, Geom::Coord const &t2, bool const &a2); 32 SnappedPoint(Geom::Point const &p, SnapSourceType const &source, long source_num, SnapTargetType const &target, Geom::Coord const &d, Geom::Coord const &t, bool const &a, bool const &constrained_snap, bool const &fully_constrained, Geom [all...] |
H A D | line-geometry.h | 28 Line(Geom::Point const &start, Geom::Point const &vec, bool is_endpoint = true); 32 virtual boost::optional<Geom::Point> intersect(Line const &line); 33 inline Geom::Point direction () { return v_dir; } 35 Geom::Point closest_to(Geom::Point const &pt); // returns the point on the line closest to pt 38 boost::optional<Geom::Point> intersection_with_viewbox (SPDesktop *desktop); 39 inline bool lie_on_same_side (Geom::Point const &A, Geom::Point const &B) { 43 return ((Geom [all...] |
H A D | sp-item-transform.h | 8 void sp_item_rotate_rel(SPItem *item, Geom::Rotate const &rotation); 9 void sp_item_scale_rel (SPItem *item, Geom::Scale const &scale); 11 void sp_item_move_rel(SPItem *item, Geom::Translate const &tr); 13 Geom::Affine get_scale_transform_for_uniform_stroke (Geom::Rect const &bbox_visual, double stroke_x, double stroke_y, bool transform_stroke, bool preserve, double x0, double y0, double x1, double y1); 14 Geom::Affine get_scale_transform_for_variable_stroke (Geom::Rect const &bbox_visual, Geom::Rect const &bbox_geom, bool transform_stroke, bool preserve, double x0, double y0, double x1, double y1); 15 Geom::Rect get_visual_bbox (Geom [all...] |
H A D | unclump.cpp | 26 std::map<const gchar *, Geom::Point> c_cache; 27 std::map<const gchar *, Geom::Point> wh_cache; 32 static Geom::Point 35 std::map<const gchar *, Geom::Point>::iterator i = c_cache.find(item->getId()); 40 Geom::OptRect r = item->desktopVisualBounds(); 42 Geom::Point const c = r->midpoint(); 47 return Geom::Point(0, 0); 51 static Geom::Point 54 Geom::Point wh; 55 std::map<const gchar *, Geom [all...] |
H A D | pure-transform.h | 27 virtual SnappedPoint snap(::SnapManager *sm, SnapCandidatePoint const &p, Geom::Point pt_orig, Geom::OptRect const &bbox_to_snap) const = 0; 28 virtual Geom::Point getTransformedPoint(SnapCandidatePoint const &p) const = 0; 38 void snap(::SnapManager *sm, std::vector<Inkscape::SnapCandidatePoint> const &points, Geom::Point const &pointer); 46 Geom::Point _vector; 47 Geom::Point _vector_snapped; 49 virtual SnappedPoint snap(::SnapManager *sm, SnapCandidatePoint const &p, Geom::Point pt_orig, Geom::OptRect const &bbox_to_snap) const; 50 virtual Geom::Point getTransformedPoint(SnapCandidatePoint const &p) const; 57 PureTranslate(Geom argument [all...] |
H A D | snapped-curve.h | 28 SnappedCurve(Geom::Point const &snapped_point, Geom::Point const &tangent, int num_path, int num_segm, Geom::Coord const &snapped_distance, Geom::Coord const &snapped_tolerance, bool const &always_snap, bool const &fully_constrained, Geom::Curve const *curve, SnapSourceType source, long source_num, SnapTargetType target, Geom::OptRect target_bbox); 30 Inkscape::SnappedPoint intersect(SnappedCurve const &curve, Geom::Point const &p, Geom::Affine dt2doc) const; //intersect with another SnappedCurve 31 Inkscape::SnappedPoint intersect(SnappedLine const &line, Geom::Point const &p, Geom [all...] |
/inkscape/src/helper/ |
H A D | geom.h | 21 Geom::OptRect bounds_fast_transformed(Geom::PathVector const & pv, Geom::Affine const & t); 22 Geom::OptRect bounds_exact_transformed(Geom::PathVector const & pv, Geom::Affine const & t); 24 void pathv_matrix_point_bbox_wind_distance ( Geom::PathVector const & pathv, Geom::Affine const &m, Geom::Point const &pt, 25 Geom [all...] |
/inkscape/src/extension/internal/ |
H A D | emf-print.h | 34 unsigned int print_pathv (Geom::PathVector const &pathv, const Geom::Affine &transform); 35 bool print_simple_shape (Geom::PathVector const &pathv, const Geom::Affine &transform); 48 Geom::PathVector const &pathv, 49 Geom::Affine const &ctm, SPStyle const *style, 50 Geom::OptRect const &pbox, Geom::OptRect const &dbox, 51 Geom::OptRect const &bbox); 53 Geom [all...] |
/inkscape/src/2geom/ |
H A D | geom.h | 45 namespace Geom { namespace 47 boost::optional<Geom::LineSegment> 48 rect_line_intersect(Geom::Rect &r, 49 Geom::LineSegment ls); 51 int centroid(std::vector<Geom::Point> const &p, Geom::Point& centroid, double &area);
|
/inkscape/src/livarot/ |
H A D | path-description.cpp | 9 void PathDescrMoveTo::dumpSVG(Inkscape::SVGOStringStream& s, Geom::Point const &/*last*/) const 11 s << "M " << p[Geom::X] << " " << p[Geom::Y] << " "; 14 void PathDescrMoveTo::transform(Geom::Affine const& t) 22 s << " m " << p[Geom::X] << " " << p[Geom::Y]; 25 void PathDescrLineTo::dumpSVG(Inkscape::SVGOStringStream& s, Geom::Point const &/*last*/) const 27 s << "L " << p[Geom::X] << " " << p[Geom::Y] << " "; 35 void PathDescrLineTo::transform(Geom [all...] |
/inkscape/src/live_effects/parameter/ |
H A D | powerstrokepointarray.h | 23 class PowerStrokePointArrayParam : public ArrayParam<Geom::Point> { 34 virtual void param_transform_multiply(Geom::Affine const& postmul, bool /*set*/); 43 void set_pwd2(Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_in, Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_normal_in); 44 Geom::Piecewise<Geom [all...] |