Searched defs:origin (Results 1 - 25 of 42) sorted by relevance

12

/inkscape/src/libcroco/
H A Dcr-stylesheet.h62 enum CRStyleOrigin origin ; member in struct:_CRStyleSheet
/inkscape/src/ui/tools/
H A Dgradient-tool.h34 Geom::Point origin; member in class:Inkscape::UI::Tools::GradientTool
H A Dmesh-tool.h37 Geom::Point origin; member in class:Inkscape::UI::Tools::MeshTool
H A Dtool-base.h67 DelayedSnapEvent(ToolBase *event_context, gpointer const dse_item, gpointer dse_item2, GdkEventMotion const *event, DelayedSnapEvent::DelayedSnapEventOrigin const origin) argument
72 , _origin(origin)
123 void sp_event_context_snap_delay_handler(ToolBase *ec, gpointer const dse_item, gpointer const dse_item2, GdkEventMotion *event, DelayedSnapEvent::DelayedSnapEventOrigin origin);
157 bool within_tolerance; ///< are we still within tolerance of origin
/inkscape/src/live_effects/
H A Dlpe-constructgrid.cpp52 Geom::Point origin = (*it++).initialPoint(); local
55 first_p -= origin;
56 second_p -= origin;
61 Geom::Path first_path( origin );
62 first_path.appendNew<LineSegment>( origin + first_p*nr_y );
63 Geom::Path second_path( origin );
64 second_path.appendNew<LineSegment>( origin + second_p*nr_x );
H A Dlpe-copy_rotate.h50 PointParam origin; member in class:Inkscape::LivePathEffect::LPECopyRotate
H A Dlpe-lattice.cpp123 Geom::Point origin = Geom::Point(boundingbox_X.min(),boundingbox_Y.min()); local
150 // origin = Upperleft point
151 double dl = dot((*handles[corner+4*i] - (base + origin)), dir)/dot(dir,dir);
163 B -= origin;
167 tB = tB * width + origin;
H A Dlpe-lattice2.cpp171 Geom::Point origin = Geom::Point(boundingbox_X.min(),boundingbox_Y.min()); local
198 // origin = Upperleft point
199 double dl = dot((handles[corner+4*i] - (base + origin)), dir)/dot(dir,dir);
211 B[Geom::X] -= origin[Geom::X];
213 B[Geom::Y] -= origin[Geom::Y];
217 tB[Geom::X] = tB[Geom::X] * width + origin[Geom::X];
218 tB[Geom::Y] = tB[Geom::Y] * height + origin[Geom::Y];
H A Dlpe-perspective_path.cpp40 virtual void knot_set(Geom::Point const &p, Geom::Point const &origin, guint state);
182 /* set perspective origin to first point of path */
253 _("Adjust the origin") );
260 KnotHolderEntityOffset::knot_set(Geom::Point const &p, Geom::Point const &origin, guint state) argument
268 lpe->offsetx.param_set_value((s - origin)[Geom::X]);
269 lpe->offsety.param_set_value(-(s - origin)[Geom::Y]); // additional minus sign is due to coordinate system flipping
/inkscape/src/display/
H A Dguideline.h30 SPCtrl *origin; // unlike 'item', this is only held locally member in struct:SPGuideLine
H A Ddrawing-context.cpp61 DrawingContext::DrawingContext(cairo_t *ct, Geom::Point const &origin) argument
63 , _surface(new DrawingSurface(cairo_get_group_target(ct), origin))
70 cairo_translate(_ct, -origin[Geom::X], -origin[Geom::Y]);
73 DrawingContext::DrawingContext(cairo_surface_t *surface, Geom::Point const &origin) argument
75 , _surface(new DrawingSurface(surface, origin))
129 Geom::Point origin = s->origin(); local
130 cairo_set_source_surface(_ct, s->raw(), origin[X], origin[
[all...]
H A Dcanvas-grid.h89 void setOrigin(Geom::Point const &origin_px); /**< writes new origin (specified in px units) to SVG */
90 Geom::Point origin; /**< Origin of the grid */ member in class:Inkscape::CanvasGrid
142 Geom::Point ow; /**< Transformed origin by the affine for the zoom */
H A Ddrawing-surface.cpp3 * Cairo surface that remembers its origin.
25 * Drawing surface that remembers its origin.
71 DrawingSurface::DrawingSurface(cairo_surface_t *surface, Geom::Point const &origin) argument
73 , _origin(origin)
111 DrawingSurface::origin() const function in class:Inkscape::DrawingSurface
H A Ddrawing.cpp181 Geom::Point origin = dc.targetLogicalBounds().min(); local
182 dc.setSource(out, origin[Geom::X], origin[Geom::Y]);
H A Dnr-filter.cpp161 Geom::Point origin = graphic.targetLogicalBounds().min(); local
167 graphic.setSource(result, origin[Geom::X], origin[Geom::Y]);
/inkscape/src/
H A Dguide-snapper.cpp75 void Inkscape::GuideSnapper::_addSnappedLinesOrigin(IntermSnapResults &isr, Geom::Point const &origin, Geom::Coord const &snapped_distance, SnapSourceType const &source, long source_num, bool constrained_snap) const argument
77 SnappedPoint dummy = SnappedPoint(origin, source, source_num, Inkscape::SNAPTARGET_GUIDE_ORIGIN, snapped_distance, getSnapperTolerance(), getSnapperAlwaysSnap(), constrained_snap, true);
H A Dline-snapper.cpp49 // this point coincides with its origin; for grids this is of no use, but we cannot
54 // Only relevant for guides; grids don't have an origin per line
59 // For this we need to know where the origin is located of the line that is currently being rotated,
70 Geom::Point origin = (*it_origin_or_vector).first; // "first" contains a Geom::Point, denoting either a point local
76 Geom::Point const origin_proj = Geom::projection(origin, Geom::Line(p1, p2));
114 // First, project the origin of the circle onto the line
115 Geom::Point const origin = c.getPoint(); member in class:Geom
116 Geom::Point const p_proj = Geom::projection(origin, gridguide_line);
117 Geom::Coord dist = Geom::L2(p_proj - origin); // distance from circle origin t
[all...]
H A Dtransf_mat_3x4.cpp32 TransfMat3x4::TransfMat3x4 (Proj::Pt2 vp_x, Proj::Pt2 vp_y, Proj::Pt2 vp_z, Proj::Pt2 origin) { argument
37 tmat[i][3] = origin[i];
95 Geom::Point origin (column(Proj::W).affine());
96 dir -= origin;
100 Proj::Pt2 origin (column(Proj::W).affine());
101 dir = dir + origin;
H A Dknot-holder-entity.cpp159 PatternKnotHolderEntityXY::knot_set(Geom::Point const &p, Geom::Point const &origin, guint state) argument
167 if (fabs((p - origin)[Geom::X]) > fabs((p - origin)[Geom::Y])) {
168 p_snapped[Geom::Y] = origin[Geom::Y];
170 p_snapped[Geom::X] = origin[Geom::X];
205 PatternKnotHolderEntityAngle::knot_set(Geom::Point const &p, Geom::Point const &/*origin*/, guint state)
231 PatternKnotHolderEntityScale::knot_set(Geom::Point const &p, Geom::Point const &/*origin*/, guint state)
H A Dpure-transform.h100 PureScale(Geom::Scale scale, Geom::Point origin, bool uniform) : argument
103 _origin (origin),
118 PureScaleConstrained(Geom::Scale scale, Geom::Point origin): argument
119 PureScale(scale, origin, true) {}; // Non-uniform constrained scaling is not supported
142 PureStretchConstrained(Geom::Coord magnitude, Geom::Point origin, Geom::Dim2 direction, bool uniform) : argument
145 _origin (origin),
179 PureSkewConstrained(Geom::Coord skew, Geom::Coord scale, Geom::Point origin, Geom::Dim2 direction) : argument
183 _origin (origin),
213 PureRotateConstrained(double angle, Geom::Point origin) : argument
216 _origin (origin),
[all...]
/inkscape/src/live_effects/parameter/
H A Dtransformedpoint.h42 Geom::Point getOrigin() const { return origin; };
45 void setOrigin(Geom::Point const &new_origin) { origin = new_origin; };
64 Geom::Point origin; member in class:Inkscape::LivePathEffect::TransformedPointParam
69 /// The looks of the vector and origin knots oncanvas
H A Dvector.h41 Geom::Point getOrigin() const { return origin; };
44 void setOrigin(Geom::Point const &new_origin) { origin = new_origin; };
64 Geom::Point origin; member in class:Inkscape::LivePathEffect::VectorParam
67 /// The looks of the vector and origin knots oncanvas
H A Dpoint.cpp154 virtual void knot_set(Geom::Point const &p, Geom::Point const &origin, guint state);
163 PointParamKnotHolderEntity::knot_set(Geom::Point const &p, Geom::Point const &origin, guint state) argument
167 Geom::Point A(origin[Geom::X],p[Geom::Y]);
168 Geom::Point B(p[Geom::X],origin[Geom::Y]);
/inkscape/src/2geom/
H A Dtransforms.cpp148 Affine reflection(Point const & vector, Point const & origin) argument
157 return Translate(-origin) * mirror * Translate(origin);
H A Dray.h60 Ray(Point const& origin, Coord angle) argument
61 : _origin(origin)
68 Point origin() const { return _origin; } function in class:Geom::Ray
139 && are_near(r1.origin(), r2.origin(), eps);
157 * @pre Both passed rays must have the same origin.
169 if ( !are_near(r1.origin(), r2.origin()) )
171 THROW_RANGEERROR("passed rays do not have the same origin");
174 Ray bisector(r1.origin(), r
[all...]

Completed in 118 milliseconds

12