Searched refs:Geom (Results 1 - 25 of 720) sorted by relevance

1234567891011>>

/inkscape/src/live_effects/
H A Dlpe-circle_with_radius.cpp22 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 Dlpegroupbbox.cpp28 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 Dlpe-skeleton.cpp65 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 Dlpe-recursiveskeleton.h27 virtual Geom::Piecewise<Geom::D2<Geom::SBasis> > doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_in);
H A Dlpe-skeleton.h39 // 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 Dlpe-text_label.h28 virtual Geom::Piecewise<Geom::D2<Geom::SBasis> > doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_in);
H A Dlpe-test-doEffect-stack.h30 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 Dlpe-transform_2pts.h32 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 Dlpe-rough-hatches.h31 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 Dlpe-interpolate.cpp41 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 Ddrawing-surface.h33 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 Dnr-filter-units.h43 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 Ddrawing-pattern.h40 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 Dcurve-test.h10 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 Dsnapped-point.h30 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 Dline-geometry.h28 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 Dsp-item-transform.h8 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 Dunclump.cpp26 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 Dpure-transform.h27 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 Dsnapped-curve.h28 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 Dgeom.h21 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 Demf-print.h34 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 Dgeom.h45 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 Dpath-description.cpp9 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 Dpowerstrokepointarray.h23 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...]

Completed in 280 milliseconds

1234567891011>>