summaryrefslogtreecommitdiffstats
path: root/src/pencil-context.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Snapmanager in pencil tool: setup() must be followed by unSetup() to clear ↵Diederik van Lierop2010-08-221-3/+4
| | | | | pointers (bzr r9720)
* Clear pointers in the snapmanager if they're no longer needed.Diederik van Lierop2010-08-111-0/+2
| | | (bzr r9697)
* Second attempt at fixing LP452174 (first node in freehand is ignored)Diederik van Lierop2010-02-081-1/+7
| | | | | | Fixed bugs: - https://launchpad.net/bugs/452174 (bzr r9068)
* Pencil tool: fix drawing when starting a new freehand path on top of the ↵Diederik van Lierop2010-02-071-5/+26
| | | | | pre-snap indicator, and snap the end-point of the freehand path (bzr r9065)
* Tiny bit of refactoring (inverting some logic)Diederik van Lierop2010-02-061-5/+1
| | | (bzr r9059)
* Don't discard first point in pencil's freehand mode, and add a missing ↵Diederik van Lierop2010-02-041-0/+1
| | | | | | | | return statement Fixed bugs: - https://launchpad.net/bugs/452174 (bzr r9052)
* Finally introducing the pre-snap indicatorDiederik van Lierop2010-01-301-1/+6
| | | (bzr r9034)
* Remove redundancy from snapping API (type of snapsource no longer has to be ↵Diederik van Lierop2010-01-231-13/+13
| | | | | specified explicitly) (bzr r9014)
* restore ctrl+click dots in pencilbulia byak2009-09-031-1/+12
| | | (bzr r8555)
* Make the snap delay mechanism easier to implement for the devs, and get rid ↵Diederik van Lierop2009-07-181-8/+4
| | | | | of the related warning messages (bzr r8302)
* - Move snap delay mechanism to the event context (used to be in SPCanvas)Diederik van Lierop2009-03-291-8/+8
| | | | | | - Rename lots of variables and methods to make them easier to understand - Add snapping to the connector tool (bzr r7589)
* limit dot creation to straight line modes of Pen onlybulia byak2009-02-241-14/+2
| | | (bzr r7359)
* The snap indicator's tooltip now displays "A to B", whereas before it only ↵Diederik van Lierop2009-02-201-3/+3
| | | | | displayed "B". (bzr r7335)
* simplify sketch result to fix crashJohan B. C. Engelen2009-01-271-0/+9
| | | (bzr r7191)
* fix crash when drawing very quickly while still loading inkscape.Johan B. C. Engelen2009-01-271-3/+4
| | | (bzr r7190)
* - The snap-delay mechanism should now be more robust. From now on, it must ↵Diederik van Lierop2009-01-251-43/+41
| | | | | | | be turned on and off explicitely within each context. This prevents delayed snapping events from being fired after the context or context's state has changed. - Creating single dots now snaps (bzr r7172)
* fix buildJohan B. C. Engelen2009-01-081-1/+1
| | | (bzr r7098)
* fix crash bug 310206Johan B. C. Engelen2008-12-221-7/+7
| | | (bzr r7022)
* remove 2geom transition codeJohan B. C. Engelen2008-12-131-12/+23
| | | (bzr r7002)
* pencil sketching now allows for different smooth settingsJohan B. C. Engelen2008-12-131-28/+19
| | | | | (sketch mode is still work in progress) (bzr r7001)
* add sketch mode to pencil toolJohan B. C. Engelen2008-12-131-18/+159
| | | (bzr r6995)
* simplify interpolating the curve in pencil-context.Johan B. C. Engelen2008-12-061-19/+6
| | | (bzr r6960)
* NR::LInfty => Geom::Johan B. C. Engelen2008-12-051-1/+1
| | | (bzr r6953)
* Merge from fe-movedTed Gould2008-11-211-10/+88
| | | (bzr r6891)
* From trunkTed Gould2008-10-271-12/+29
| | | (bzr r6885)
* Next roud of NR ==> Geom conversionMaximilian Albert2008-09-181-1/+1
| | | (bzr r6839)
* Some NR::Point ==> Geom::Point replacementsMaximilian Albert2008-09-181-23/+23
| | | (bzr r6835)
* Move single-dot-creation function to a better location (and rename it ↵Maximilian Albert2008-09-011-1/+1
| | | | | accordingly) (bzr r6746)
* Modify the parameters required for setting up the SnapManagerDiederik van Lierop2008-08-281-1/+1
| | | (bzr r6722)
* Correct fix for Esc and Shift+Z in pencil toolMaximilian Albert2008-08-151-5/+9
| | | (bzr r6632)
* Get rid of a whole bunch of further instances of SP_ACTIVE_DESKTOP (where ↵Maximilian Albert2008-08-141-1/+1
| | | | | the desktop is readily available in the calling function) (bzr r6629)
* make spcurve::first_point and last_point boost::optionalJohan B. C. Engelen2008-08-131-1/+1
| | | (bzr r6617)
* return boost::optional for second and penultimate points of SPCurveJohan B. C. Engelen2008-08-131-1/+1
| | | (bzr r6616)
* Move all of the snapper code to 2geomDiederik van Lierop2008-08-111-10/+12
| | | (bzr r6606)
* Esc and Ctrl+Z in pencil tool should also cancel when we're drawing straight ↵Maximilian Albert2008-08-061-9/+4
| | | | | line (in which case pc->is_drawing will be false) (bzr r6574)
* While drawing and constraining to specific angles (using CTRL): don't try a ↵Diederik van Lierop2008-08-041-2/+9
| | | | | freeSnap() after we've already tried a constrainedSnap() (bzr r6560)
* remove many needless references to n-art-bpath.hJohan B. C. Engelen2008-08-031-1/+0
| | | (bzr r6540)
* make tolerance range exponentialbulia byak2008-07-151-3/+3
| | | (bzr r6315)
* move tolerance range towards roughnessbulia byak2008-07-091-2/+2
| | | (bzr r6244)
* patch by FreqMod for bug 246389bulia byak2008-07-081-0/+18
| | | (bzr r6227)
* 2geomify more of pencil-context.cppJohan B. C. Engelen2008-07-071-5/+4
| | | (bzr r6209)
* improve pencil-context logicJohan B. C. Engelen2008-07-031-1/+1
| | | (bzr r6138)
* pencil tool: don't use sp_curve_length macro but good function ;)Johan B. C. Engelen2008-06-301-1/+1
| | | (bzr r6101)
* use spcurve methods instead of macro (which references to old nartbpath) to ↵Johan B. C. Engelen2008-06-261-2/+1
| | | | | determine first and second nodal points (bzr r6079)
* Fix a regression in the snapper, caused by me. Sorry!Diederik van Lierop2008-05-161-2/+2
| | | (bzr r5680)
* Add a centralized check (i.e. in the snapper mechanism) whether we've ↵Diederik van Lierop2008-05-121-3/+2
| | | | | snapped or not, instead of leaving it up to the various tools. This should prevent these tools from moving to (0,0) if they bluntly use the value returned by the snapping mechanism without checking whether snapping has really occured. (bzr r5659)
* - try to use more forward declarations for less dependencies on display/curve.hJohan B. C. Engelen2008-05-091-0/+1
| | | | | | - change _bpath to private member of SPCurve, obtain and set with get_bpath and set_bpath. - added const methods, so protect changes to _bpath in SPCurve (bzr r5636)
* struct SPCurve => class SPCurveJohan B. C. Engelen2008-05-051-14/+14
| | | | | change all sp_curve_methods functions to SPCurve::methods. (bzr r5609)
* - Major refactoring of snapping related code...Diederik van Lierop2008-04-301-10/+6
| | | | | - Enabling snap indicator for all remaining tools (bzr r5556)
* Refactor snapper and snapindicator (in order to enable the snapindicator in ↵Diederik van Lierop2008-04-071-2/+2
| | | | | the selector tool) (bzr r5374)