Searched defs:point (Results 1 - 25 of 31) sorted by relevance

12

/inkscape/src/live_effects/
H A Dlpe-test-doEffect-stack.h18 #include "live_effects/parameter/point.h"
35 PointParam point; member in class:Inkscape::LivePathEffect::LPEdoEffectStackTest
H A Dlpe-fillet-chamfer.cpp8 * Also to ScislaC for point me to the idea
53 fillet_chamfer_values(_("Fillet point"), _("Fillet point"), "fillet_chamfer_values", &wr, this),
395 std::vector<Point> point; local
435 point.push_back(Point(0, 1));
437 point.push_back(Point(0, 0));
446 fillet_chamfer_values.param_set_and_write_new_value(point);
/inkscape/src/display/
H A Dnr-filter-diffuselighting.h42 SPFePointLight *point; member in union:Inkscape::Filters::FilterDiffuseLighting::__anon25
H A Dnr-filter-specularlighting.h43 SPFePointLight *point; member in union:Inkscape::Filters::FilterSpecularLighting::__anon28
H A Dsp-canvas-item.h74 // If true, then SPCanvasGroup::point() and sp_canvas_item_invoke_point() will calculate
93 double (* point) (SPCanvasItem *item, Geom::Point p, SPCanvasItem **actual_item); member in struct:_SPCanvasItemClass
/inkscape/src/
H A Dproj_pt.h15 #include <2geom/point.h>
27 Pt2 (Geom::Point const &point) { pt[0] = point[Geom::X]; pt[1] = point[Geom::Y]; pt[2] = 1; } argument
H A Dtransf_mat_3x4.cpp55 TransfMat3x4::image (Pt3 const &point) { argument
56 double x = tmat[0][0] * point[0] + tmat[0][1] * point[1] + tmat[0][2] * point[2] + tmat[0][3] * point[3];
57 double y = tmat[1][0] * point[0] + tmat[1][1] * point[1] + tmat[1][2] * point[2] + tmat[1][3] * point[3];
58 double w = tmat[2][0] * point[
[all...]
H A Dgradient-drag.h27 #include <2geom/point.h>
48 This class represents a single draggable point of a gradient. It remembers the item
49 which has the gradient, whether it's fill or stroke, the point type (from the
50 GrPointType enum), and the point number (needed if more than 2 stops are present).
58 gint point_i; // the stop number of this point ( = 0 POINT_LG_BEGIN and POINT_RG_CENTER)
86 Geom::Point point; member in struct:GrDragger
H A Dsnap-candidate.h17 #include <2geom/point.h>
33 SnapCandidatePoint(Geom::Point const &point, Inkscape::SnapSourceType const source, long const source_num, Inkscape::SnapTargetType const target, Geom::OptRect const &bbox) argument
34 : _point(point),
43 SnapCandidatePoint(Geom::Point const &point, Inkscape::SnapSourceType const source, Inkscape::SnapTargetType const target) argument
44 : _point(point),
53 SnapCandidatePoint(Geom::Point const &point, Inkscape::SnapSourceType const source) argument
54 : _point(point),
82 // Coordinates of the point
84 // For perpendicular or tangential snapping of a ROTATING line we need to know its (stationary) starting point.
88 // vector will be stored in the same way as the starting point i
[all...]
H A Dvanishing-point.h2 * Vanishing point for 3D perspectives
15 #include <2geom/point.h>
133 Geom::Point point; member in struct:Box3D::VPDragger
H A Dsp-star.cpp269 Returns a unique 32 bit int for a given point.
272 - returned value is unchanged when the point is moved by less than 1/1024 of px
309 sp_star_get_curvepoint (SPStar *star, SPStarPoint point, gint index, bool previ) argument
311 // the point whose neighboring curve handle we're calculating
312 Geom::Point o = sp_star_get_xy (star, point, index);
318 // the other point type
319 SPStarPoint other = (point == SP_STAR_POINT_KNOT2? SP_STAR_POINT_KNOT1 : SP_STAR_POINT_KNOT2);
322 Geom::Point prev = (star->flatsided? sp_star_get_xy (star, point, pi) : sp_star_get_xy (star, other, point == SP_STAR_POINT_KNOT2? index : pi));
323 Geom::Point next = (star->flatsided? sp_star_get_xy (star, point, n
573 sp_star_get_xy(SPStar const *star, SPStarPoint point, gint index, bool randomized) argument
[all...]
H A Dobject-snapper.cpp18 #include <2geom/point.h>
170 // first point and store the collection for later use. This significantly improves the performance
181 // A point considered for snapping should be either a node, a bbox corner or a guide/other. Pick only ONE!
301 // The distance from the target point to its projection on the constraint
302 // is too large, so this point is not on the constraint. Skip it!
338 // Project each node (*k) on the guide line (running through point p)
357 // first point and store the collection for later use. This significantly improves the performance
385 /* Transform the requested snap point to this item's coordinates */
433 // We will get our own copy of the pathvector, which must be freed at some point
497 Geom::identity()); // We will get our own copy of the path, which must be freed at some point
581 isUnselectedNode(Geom::Point const &point, std::vector<SnapCandidatePoint> const *unselected_nodes) const argument
[all...]
H A Dsp-text.cpp391 // Choose a point on the baseline for snapping from or to, with the horizontal position
392 // of this point depending on the text alignment (left vs. right)
821 Geom::Point point; local
822 if (attributes.x.empty()) point[Geom::X] = 0.0;
823 else point[Geom::X] = attributes.x[0].computed;
824 if (attributes.y.empty()) point[Geom::Y] = 0.0;
825 else point[Geom::Y] = attributes.y[0].computed;
826 return point;
829 void TextTagAttributes::setFirstXY(Geom::Point &point) argument
838 attributes.x[0] = point[Geo
999 Geom::Point point; local
[all...]
/inkscape/src/libavoid/
H A Dshape.cpp116 // Reset with the new polygon point.
286 VertInf *ShapeRef::getPointVertex(const Point& point) argument
291 if (curr->point == point)
H A Dvertices.h93 Point point; member in class:Avoid::VertInf
H A Dconnector.h61 //! which sides of a shape this point should have visibility to if
64 //! Like SVG, libavoid considers the Y-axis to point downwards, that is,
70 //! @brief This option specifies the point should be given visibility
73 //! @brief This option specifies the point should be given visibility
76 //! @brief This option specifies the point should be given visibility
79 //! @brief This option specifies the point should be given visibility
82 //! @brief This option, provided for convenience, specifies the point
108 //! @brief Constructs a ConnEnd from a free-floating point.
110 //! @param[in] point The position of the connector endpoint.
112 ConnEnd(const Point& point);
357 Point *point; member in class:Avoid::PointRep
[all...]
H A Dvisibility.cpp122 void vertexVisibility(VertInf *point, VertInf *partner, bool knownNew, argument
125 Router *router = point->_router;
126 const VertID& pID = point->id;
133 point->removeFromGraph();
138 router->generateContains(point);
143 vertexSweep(point);
156 EdgeInf::checkEdgeVisibility(point, k, knownNew);
160 EdgeInf::checkEdgeVisibility(point, partner, knownNew);
181 double x = vInf->point.x - centerPoint.x;
182 double y = vInf->point
376 sweepVisible(SweepEdgeList& T, const PointPair& point, std::set<unsigned int>& onBorderIDs, int *blocker) argument
[all...]
/inkscape/src/2geom/
H A Dintersection.h38 #include <2geom/point.h>
51 * By default, the intersection point will be halfway between the evaluated
60 /// Additionally report the intersection point.
67 /// Intersection point, as calculated by the intersection algorithm.
68 Point point() const { function in class:Geom::Intersection
100 // Recalculation of the intersection point from the time values is in many cases
120 result.push_back(Intersection<A, B>(in[i].second, in[i].first, in[i].point()));
H A Dd2.h42 #include <2geom/point.h>
102 Point point(unsigned i) const { function in class:Geom::D2
H A Dsvg-path-parser.cpp40 #include <2geom/point.h>
1209 return; // ignore invalid (ambiguous) arc segments where start and end point are the same (per SVG spec)
1424 Point point = _pop_point(); local
1431 _arcTo(rx, ry, angle, large_arc, sweep, point);
1530 Point point = _pop_point(); local
1537 _arcTo(rx, ry, angle, large_arc, sweep, point);
/inkscape/src/ui/tool/
H A Dcontrol-point.cpp12 #include <2geom/point.h>
23 #include "ui/tool/control-point.h"
215 int ControlPoint::_event_handler(SPCanvasItem */*item*/, GdkEvent *event, ControlPoint *point) argument
217 if ((point == NULL) || (point->_desktop == NULL)) {
220 return point->_eventHandler(point->_desktop->event_context, event) ? TRUE : FALSE;
330 // We must snap at some point in time though, and this is our last chance)
400 // ASSUMPTION: dragging a point without modifiers will never prevent us from moving it
463 // the point'
[all...]
H A Dcontrol-point-selection.cpp13 #include "ui/tool/selectable-control-point.h"
17 #include "ui/tool/control-point-selection.h"
45 * Fires when a control point is added to or removed from the selection.
46 * The first param contains a pointer to the control point that changed sel. state.
47 * The second says whether the point is currently selected.
78 /** Add a control point to the selection. */
99 /** Remove a point from the selection. */
339 void ControlPointSelection::_pointGrabbed(SelectableControlPoint *point) argument
343 _grabbed_point = point;
344 _farthest_point = point;
[all...]
/inkscape/src/libnrtype/
H A DLayout-TNG-OutIter.cpp74 1) search all the spans to see if the point is contained in one, if so take
161 Geom::Point point(x, y);
167 if (box.contains(point)) return it;
243 return (left_pt + right_pt)/2; // middle point
472 Geom::Point point; local
474 const_cast<Path*>(_path_fitted)->PointAndTangentAt(path_parameter.piece, path_parameter.t, point, tangent);
476 point += x * tangent;
478 point += (x - path_length) * tangent;
481 position[Geom::X] = point[Geom::Y] - tangent[Geom::X] * span->baseline_shift;
482 position[Geom::Y] = point[Geo
[all...]
H A DLayout-TNG-Output.cpp670 Geom::Point point; local
672 const_cast<Path&>(path).PointAndTangentAt(point_otp[0].piece, point_otp[0].t, point, tangent);
673 _empty_cursor_shape.position = point;
832 Geom::Point point(_glyphs[glyph_index].x, _glyphs[glyph_index].y);
833 point *= transform;
834 _glyphs[glyph_index].x = point[0];
835 _glyphs[glyph_index].y = point[1];
/inkscape/src/ui/tools/
H A Dtool-base.cpp53 #include "ui/tool/control-point.h"
560 // (i.e. canvas will always get scrolled all the way to the mouse release point,
817 Geom::Point const scroll_dt = desktop->point();
923 * Delete a selected GrDrag point
1144 * Returns item at point p in desktop.
1169 * Returns item if it is under point p in desktop, at any depth; otherwise returns NULL.
1283 // We must snap at some point in time though, so set a watchdog timer at some time from
1372 ControlPoint *point = reinterpret_cast<ControlPoint*> (pitem2); local
1373 if (point) {
1374 if (point
[all...]

Completed in 71 milliseconds

12