summaryrefslogtreecommitdiffstats
path: root/src/pencil-context.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - 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)
* snapindicator in freehandJohan B. C. Engelen2008-03-041-1/+8
| | | (bzr r4959)
* Revert #17388 as per buliabyaks comment in LPMaximilian Albert2008-02-191-2/+1
| | | (bzr r4774)
* Union paths automatically in pencil and calligraphy context when Shift-Lock ↵Maximilian Albert2008-02-191-1/+2
| | | | | is pressed (closes: LP 190846) (bzr r4771)
* Don't freeze when pressing Ctrl in the pencil tool (closes: LP #181898)Maximilian Albert2008-01-291-1/+2
| | | (bzr r4615)
* Ctrl+click in pen/pencil tool: Created dots are now selected; Alt is used ↵Maximilian Albert2008-01-201-1/+1
| | | | | for randomness, Shift doubles dot size; clearer preferences labels (bzr r4568)
* Make creation of dots via Ctrl+click also possible in pen context; fill dots ↵Maximilian Albert2008-01-191-20/+1
| | | | | with current stroke color (and unset stroke); add preferences settings for dot radius and status bar messages; Shift+Ctrl+click varies the radius slightly (bzr r4563)
* Make path segments convertable to guides, tooMaximilian Albert2008-01-161-0/+9
| | | (bzr r4503)
* Fundamentally reworked version of the 3D box tool (among many other things, ↵Maximilian Albert2007-12-131-1/+36
| | | | | this fixes bugs #168900 and #168868). See mailing list for details. Sorry for this single large commit but it was unfeasible to keep the history. (bzr r4224)
* warning cleanupJon A. Cruz2007-11-021-1/+1
| | | (bzr r4012)
* Only in the selector tool we should snap in bbox mode (PointType = ↵Diederik van Lierop2007-08-071-2/+2
| | | | | SNAPPOINT_BBOX) (bzr r3415)