History log of /inkscape/src/snapped-curve.cpp
Revision Date Author Comments Expand
f8526e9e32507aa02ffdb5fd9f3ee99393ec9afd 14-Feb-2012 Diederik van Lierop <mail@diedenrezi.nl>

1) Add checkboxes for perpendicular and tangential snapping to the document properties dialog (on the snap tab) 2) Newly created guides (dragged off the ruler) will take on the angle of the curve that's being snapped to (either perpendicularly or tangentialy, depending of the settings in the document properties dialog)

3399ca485d7be1a359184150f602213481a00004 15-Oct-2011 Kris <Kris.De.Gussem@hotmail.com>

cppcheck

bf1d02bbf9f93b5d10304fd4f70f367d430c750e 03-Oct-2011 Jon A. Cruz <jon@joncruz.org>

Another minor pass of Doxygen cleanup.

77ca6e8215c0710fe9233ee899e673604e045549 21-Sep-2011 Campbell Barton <ideasman42@gmail.com>

initialize value as const (clang complains about this)

dc29d5aae9784dc2344623e55b5f921e0d7cf488 18-Sep-2011 Diederik van Lierop <mail@diedenrezi.nl>

Snap to guide-path intersections, and don't snap to paths when only path intersections are asked for

d37634d73670180f99a3e0ea583621373d90ec4f 02-Feb-2011 Johan Engelen <goejendaagh@zonnet.nl>

update to latest 2geom !

2geom/Makefile_insert 2geom/angle.h 2geom/basic-intersection.cpp 2geom/bezier-curve.h 2geom/bezier-utils.cpp 2geom/bezier.h 2geom/chebyshev.cpp 2geom/choose.h 2geom/circle.cpp 2geom/circle.h 2geom/convex-cover.cpp 2geom/convex-cover.h 2geom/coord.h 2geom/curve.h 2geom/curves.h 2geom/d2-sbasis.cpp 2geom/d2-sbasis.h 2geom/d2.h 2geom/ellipse.cpp 2geom/ellipse.h 2geom/elliptical-arc.cpp 2geom/elliptical-arc.h 2geom/exception.h 2geom/forward.h 2geom/hvlinesegment.h 2geom/interval.h 2geom/line.cpp 2geom/line.h 2geom/matrix.cpp 2geom/matrix.h 2geom/numeric/fitting-model.h 2geom/numeric/matrix.cpp 2geom/numeric/matrix.h 2geom/numeric/vector.h 2geom/path-intersection.cpp 2geom/path.cpp 2geom/path.h 2geom/pathvector.cpp 2geom/pathvector.h 2geom/piecewise.cpp 2geom/piecewise.h 2geom/point.cpp 2geom/point.h 2geom/poly.cpp 2geom/poly.h 2geom/ray.h 2geom/rect.h 2geom/recursive-bezier-intersection.cpp 2geom/region.cpp 2geom/region.h 2geom/sbasis-curve.h 2geom/sbasis-geometric.cpp 2geom/sbasis-roots.cpp 2geom/sbasis.h 2geom/shape.cpp 2geom/shape.h 2geom/solve-bezier-one-d.cpp 2geom/solver.h 2geom/svg-elliptical-arc.cpp 2geom/svg-elliptical-arc.h 2geom/svg-path-parser.cpp 2geom/svg-path.cpp 2geom/sweep.h 2geom/transforms.cpp 2geom/transforms.h 2geom/utils.h arc-context.cpp box3d.cpp conn-avoid-ref.cpp conn-avoid-ref.h connector-context.cpp desktop-style.cpp desktop.cpp desktop.h dialogs/clonetiler.cpp display/canvas-arena.cpp display/canvas-axonomgrid.cpp display/canvas-axonomgrid.h display/canvas-bpath.cpp display/canvas-bpath.h display/canvas-grid.cpp display/canvas-grid.h display/canvas-text.cpp display/canvas-text.h display/curve.cpp display/curve.h display/gnome-canvas-acetate.cpp display/guideline.cpp display/inkscape-cairo.cpp display/inkscape-cairo.h display/nr-3dutils.cpp display/nr-3dutils.h display/nr-arena-glyphs.cpp display/nr-arena-glyphs.h display/nr-arena-group.cpp display/nr-arena-group.h display/nr-arena-image.cpp display/nr-arena-image.h display/nr-arena-item.cpp display/nr-arena-item.h display/nr-arena-shape.cpp display/nr-arena-shape.h display/nr-filter-colormatrix.cpp display/nr-filter-colormatrix.h display/nr-filter-component-transfer.cpp display/nr-filter-component-transfer.h display/nr-filter-convolve-matrix.cpp display/nr-filter-convolve-matrix.h display/nr-filter-diffuselighting.cpp display/nr-filter-diffuselighting.h display/nr-filter-displacement-map.cpp display/nr-filter-displacement-map.h display/nr-filter-flood.cpp display/nr-filter-flood.h display/nr-filter-gaussian.cpp display/nr-filter-gaussian.h display/nr-filter-image.cpp display/nr-filter-morphology.cpp display/nr-filter-morphology.h display/nr-filter-offset.cpp display/nr-filter-offset.h display/nr-filter-primitive.cpp display/nr-filter-primitive.h display/nr-filter-slot.cpp display/nr-filter-specularlighting.cpp display/nr-filter-specularlighting.h display/nr-filter-tile.cpp display/nr-filter-tile.h display/nr-filter-turbulence.cpp display/nr-filter-units.cpp display/nr-filter-units.h display/nr-filter.cpp display/nr-filter.h display/nr-light.cpp display/nr-light.h display/nr-svgfonts.cpp display/pixblock-scaler.cpp display/pixblock-scaler.h display/pixblock-transform.cpp display/pixblock-transform.h display/sodipodi-ctrl.cpp display/sodipodi-ctrlrect.cpp display/sodipodi-ctrlrect.h display/sp-canvas-item.h display/sp-canvas-util.cpp display/sp-canvas-util.h display/sp-canvas.cpp display/sp-canvas.h display/sp-ctrlline.cpp display/sp-ctrlline.h display/sp-ctrlpoint.cpp display/sp-ctrlpoint.h display/sp-ctrlquadr.cpp draw-context.cpp dropper-context.cpp dyna-draw-context.cpp extension/implementation/implementation.cpp extension/implementation/implementation.h extension/internal/cairo-render-context.cpp extension/internal/cairo-render-context.h extension/internal/cairo-renderer-pdf-out.cpp extension/internal/cairo-renderer.cpp extension/internal/emf-win32-print.cpp extension/internal/emf-win32-print.h extension/internal/javafx-out.cpp extension/internal/latex-pstricks.cpp extension/internal/latex-pstricks.h extension/internal/latex-text-renderer.cpp extension/internal/latex-text-renderer.h extension/internal/odf.cpp extension/internal/odf.h extension/internal/pdfinput/svg-builder.cpp extension/internal/pdfinput/svg-builder.h extension/internal/pov-out.cpp extension/internal/win32.cpp extension/internal/win32.h extension/print.cpp extension/print.h file.cpp filter-chemistry.cpp flood-context.cpp gradient-chemistry.cpp gradient-chemistry.h helper/geom.cpp helper/geom.h helper/pixbuf-ops.cpp helper/png-write.cpp knot-holder-entity.cpp knotholder.cpp libnr/nr-convert2geom.h libnr/nr-matrix.h libnrtype/FontInstance.cpp libnrtype/Layout-TNG-OutIter.cpp libnrtype/Layout-TNG-Output.cpp libnrtype/Layout-TNG-Scanline-Makers.cpp libnrtype/Layout-TNG.h libnrtype/font-instance.h libnrtype/font-style.h livarot/Path.cpp livarot/Path.h livarot/PathCutting.cpp livarot/PathSimplify.cpp livarot/Shape.h livarot/ShapeMisc.cpp livarot/ShapeSweep.cpp livarot/path-description.cpp livarot/path-description.h live_effects/effect.cpp live_effects/effect.h live_effects/lpe-copy_rotate.cpp live_effects/lpe-curvestitch.cpp live_effects/lpe-curvestitch.h live_effects/lpe-dynastroke.cpp live_effects/lpe-knot.cpp live_effects/lpe-mirror_symmetry.cpp live_effects/lpe-patternalongpath.cpp live_effects/lpe-patternalongpath.h live_effects/lpe-rough-hatches.cpp live_effects/lpe-sketch.cpp live_effects/lpe-spiro.cpp live_effects/lpe-vonkoch.cpp live_effects/lpegroupbbox.cpp live_effects/parameter/parameter.h live_effects/parameter/path.cpp live_effects/parameter/path.h live_effects/parameter/point.cpp live_effects/parameter/point.h live_effects/parameter/powerstrokepointarray.cpp live_effects/parameter/powerstrokepointarray.h live_effects/parameter/vector.cpp live_effects/parameter/vector.h lpe-tool-context.cpp marker.cpp marker.h object-edit.cpp object-snapper.cpp object-snapper.h persp3d.cpp persp3d.h print.cpp print.h selection-chemistry.cpp selection-chemistry.h selection.cpp seltrans.cpp seltrans.h snap-candidate.h snapped-curve.cpp snapped-curve.h sp-clippath.cpp sp-clippath.h sp-conn-end-pair.cpp sp-conn-end.cpp sp-ellipse.cpp sp-flowregion.cpp sp-flowtext.cpp sp-gradient-fns.h sp-gradient-test.h sp-gradient.cpp sp-gradient.h sp-image.cpp sp-item-group.cpp sp-item-group.h sp-item-transform.cpp sp-item-transform.h sp-item.cpp sp-item.h sp-line.cpp sp-line.h sp-mask.cpp sp-mask.h sp-offset.cpp sp-paint-server.cpp sp-paint-server.h sp-path.cpp sp-pattern.cpp sp-pattern.h sp-rect.cpp sp-rect.h sp-root.cpp sp-root.h sp-shape.cpp sp-shape.h sp-spiral.cpp sp-star.cpp sp-symbol.cpp sp-symbol.h sp-text.cpp sp-text.h sp-tref.cpp sp-tspan.cpp sp-use-reference.cpp sp-use.cpp sp-use.h splivarot.cpp splivarot.h spray-context.cpp svg/svg-affine-test.h svg/svg-affine.cpp svg/svg-path.cpp svg/svg.h text-editing.cpp text-editing.h text-tag-attributes.h trace/trace.cpp transf_mat_3x4.cpp transf_mat_3x4.h tweak-context.cpp ui/cache/svg_preview_cache.cpp ui/clipboard.cpp ui/dialog/filedialogimpl-win32.cpp ui/dialog/svg-fonts-dialog.cpp ui/dialog/tile.cpp ui/dialog/transformation.cpp ui/tool/control-point-selection.cpp ui/tool/control-point-selection.h ui/tool/control-point.cpp ui/tool/control-point.h ui/tool/node.cpp ui/tool/node.h ui/tool/path-manipulator.cpp ui/tool/path-manipulator.h ui/tool/shape-record.h ui/tool/transform-handle-set.cpp ui/tool/transform-handle-set.h ui/widget/registered-widget.cpp ui/widget/registered-widget.h unclump.cpp widgets/font-selector.cpp widgets/icon.cpp widgets/select-toolbar.cpp widgets/stroke-style.cpp widgets/toolbox.cpp
c13adc1aa8f34445131579baa56299b360480b5e 30-Oct-2010 Diederik van Lierop <mailat-signdiedenrezidotnl>

- Constrained snap: proper implementation of the preference to snap the mouse pointer or handle itself (instead of projecting it first onto the constraint) - Fix a crash in SnapManager::multipleConstrainedSnaps

cd8e8082c747cc529d5bf595b4102e88224a1811 05-Aug-2010 Krzysztof KosiƄski <tweenk.pl@gmail.com>

Wholesale cruft removal part 4; fix crash when rendering guides

5b4319e0715220ba39530755e9d971cbf7fee47f 22-May-2010 Diederik van Lierop <mailat-signdiedenrezidotnl>

Snapping: get rid of the false positives when calculating intersections

7958bbff516df35ec85075ab114769c23cb3669d 08-May-2010 Diederik van Lierop <mailat-signdiedenrezidotnl>

Fix bounding box snapping (LP562205, comment 6, issue II)

4c8b4484d62b2a47d96b62a8dff90e2b9124edca 19-Jan-2010 Diederik van Lierop <mailat-signdiedenrezidotnl>

When snapping to a bounding box, flash that bounding box together with the snap indicator

1aa821e67cb9667c99920eadec0f58532f73652c 24-Dec-2009 Diederik van Lierop <mailat-signdiedenrezidotnl>

refactoring the snapping code (laying the groundwork for my next commit which reduces snap jitter)

b7ca401c5a6b362842eee3e84f3fc37e4d12de6a 14-Mar-2009 dvlierop2 <dvlierop2@users.sourceforge.net>

Remove obsolete includes of libnr files in the snapping code

771d00baf3d15209a77dce026f7ef45a78365e62 20-Feb-2009 dvlierop2 <dvlierop2@users.sourceforge.net>

The snap indicator's tooltip now displays "A to B", whereas before it only displayed "B".

arc-context.cpp box3d-context.cpp connector-context.cpp context-fns.cpp display/canvas-axonomgrid.cpp display/canvas-axonomgrid.h display/canvas-grid.cpp display/canvas-grid.h display/snap-indicator.cpp display/snap-indicator.h draw-context.cpp gradient-context.cpp gradient-drag.cpp guide-snapper.cpp guide-snapper.h knot-holder-entity.cpp line-snapper.cpp line-snapper.h nodepath.cpp object-snapper.cpp object-snapper.h pen-context.cpp pencil-context.cpp rect-context.cpp satisfied-guide-cns.cpp satisfied-guide-cns.h selection.cpp selection.h seltrans.cpp seltrans.h snap.cpp snap.h snapped-curve.cpp snapped-curve.h snapped-line.cpp snapped-line.h snapped-point.cpp snapped-point.h snapper.h sp-ellipse.cpp sp-image.cpp sp-item-group.cpp sp-item-notify-moveto.cpp sp-item-rm-unsatisfied-cns.cpp sp-item-update-cns.cpp sp-item.cpp sp-item.h sp-offset.cpp sp-rect.cpp sp-shape.cpp sp-spiral.cpp sp-star.cpp sp-text.cpp sp-use.cpp spiral-context.cpp star-context.cpp
995ec331afc69a2e82dac045e5f8749a4bc6d65e 15-Feb-2009 dvlierop2 <dvlierop2@users.sourceforge.net>

After snapping, show a tooltip together with the snap indicator

11614aeee42f0b626bd7e3f929d9119c59f7c3bd 25-Jan-2009 dvlierop2 <dvlierop2@users.sourceforge.net>

Remove some SP_ACTIVE_DESKTOP() calls

d57b5b89c32cf773d2dbe2cc3b225e9034496a0c 30-Dec-2008 dvlierop2 <dvlierop2@users.sourceforge.net>

Remove some obsolete from_2geom() calls

2b7ee786ac3f40bb6b0d6e19f565b802f29f50e0 14-Dec-2008 dvlierop2 <dvlierop2@users.sourceforge.net>

1) snap midpoints of line segments (both as source and as target) 2) snap intersections within a single shape (as source; as target was already implemented)

71c8857afc501c5e737bce6022fd9ac810d94c05 10-Dec-2008 dvlierop2 <dvlierop2@users.sourceforge.net>

- Fix bug #304405 (snapping to an intersection of lines at infinity is wrong) - Replace tabs by spaces

fd4f8ef876a2d6f7e0a81596857787d05c67778b 24-Nov-2008 dvlierop2 <dvlierop2@users.sourceforge.net>

Add an option to the preferences to _only_ snap the node closest to the mouse pointer

55dd1351535fdbc7d4087cef62b2c3f59de8726e 23-Nov-2008 dvlierop2 <dvlierop2@users.sourceforge.net>

1) Improve the way the distance to the pointer is taken into account when finding the best snap 2) Use this distance also when snapping nodes in the path editor 3) Add a slider in the preferences dialog to control the weighing of this distance

e781423d621c888bfbcfab74512d797385606aa1 21-Sep-2008 dvlierop2 <dvlierop2@users.sourceforge.net>

- refactor snapping code, removing code duplication - fix snapping to page corners

68632bf474bc4b65c03f919fc60a6c7872adb912 15-Aug-2008 dvlierop2 <dvlierop2@users.sourceforge.net>

Use new methods from 2geom's API

ed70cc908f7fe9d5f2d86042e3fe1f758984c03a 11-Aug-2008 dvlierop2 <dvlierop2@users.sourceforge.net>

Move all of the snapper code to 2geom

aee6bba4d090adbd7801efd2eb156ca8aee2301f 09-Aug-2008 dvlierop2 <dvlierop2@users.sourceforge.net>

Snap to intersections of any kind of path (were we previously only could snap to intersections of line-segments)