summaryrefslogtreecommitdiffstats
path: root/src/draw-context.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 1) make snapping to clip/mask paths optional (see document properties dialog ↵Diederik van Lierop2011-10-081-2/+2
| | | | | | | | -> snap tab) 2) for debugging purposes: code added for showing all snap candidates 3) groundwork for tangential/perpendicular snapping (bzr r10672)
* - rename SPItem::i2d_affine to i2dt_affine, to clarify that it is ↵Johan B. C. Engelen2011-07-171-2/+2
| | | | | | | item-to-desktop, not item-to-document. This should make it easier to spot bugs. - tag some instances where the document-to-desktop transform has been hardcoded (bzr r10466)
* Merge from trunkKrzysztof Kosi??ski2011-04-071-4/+4
|\ | | | | (bzr r9508.1.73)
| * Finished cleanup of outdated SP_OBJECT_REPR C macro.Jon A. Cruz2011-02-221-3/+3
| | | | | | (bzr r10067)
| * update to latest 2geom !Johan B. C. Engelen2011-02-021-1/+1
| | | | | | (bzr r10025)
* | Merge from trunk (again)Krzysztof Kosi??ski2010-12-151-12/+14
|\| | | | | (bzr r9508.1.72)
| * Merge and cleanup of GSoC C++-ification project.Jon A. Cruz2010-12-121-12/+14
| |\ | | | | | | (bzr r9945.1.1)
| | * New Class SPDocumentUndo created which takes care of c++fying some non ↵Abhishek Sharma Public2010-07-021-2/+2
| | | | | | | | | | | | | | | SPDocument based methods (bzr r9546.1.3)
| | * C++fied SPDocument addedAbhishek Sharma Public2010-07-011-1/+1
| | | | | | | | | (bzr r9546.1.2)
| | * This is the first c++ification commit from me. It handles sp-line, ↵Abhishek Sharma Public2010-06-291-5/+6
| | | | | | | | | | | | | | | sp-polyline, sp-item and marks the onset of document c++ification as well. Users can check performace increase with [/usr/bin/time -v inkscape_binary_with_commandline_options]. (bzr r9546.1.1)
* | | Merge from trunkKrzysztof Kosi??ski2010-11-251-36/+20
|\| | | | | | | | (bzr r9508.1.70)
| * | Super duper mega (fun!) commit: replaced encoding=utf-8 with ↵Chris Morgan2010-11-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fileencoding=utf-8 in all 1074 Vim modelines. The reason for this is that (a) setting the encoding isn't nice, and (b) Vim 7.3 (with modeline enabled) disallows it and pops up an error whenever you open any file with it ("invalid modeline"). Also corrected five deviant modestrings: * src/ui/widget/dock.cpp and src/ui/widget/dock.h: missing colon at the end * src/ui/dialog/tile.cpp: removed gratuitous second colon at the end * src/helper/units-test.h: removed gratuitous space before a colon * share/extensions/export_gimp_palette.py: missing textwidth=99 That's my geekiest commit yet. (bzr r9900)
| * | Leave constrained angular snapping to the snap manager, instead of handling ↵Diederik van Lierop2010-11-071-34/+16
| | | | | | | | | | | | | | | it locally (bzr r9880)
| * | - Constrained snap: proper implementation of the preference to snap the ↵Diederik van Lierop2010-10-291-35/+34
| | | | | | | | | | | | | | | | | | | | | mouse pointer or handle itself (instead of projecting it first onto the constraint) - Fix a crash in SnapManager::multipleConstrainedSnaps (bzr r9866)
| * | Clear pointers in the snapmanager if they're no longer needed.Diederik van Lierop2010-08-111-0/+2
| | | | | | | | | (bzr r9697)
| * | Implement constrained snapping to nodesDiederik van Lierop2010-08-101-1/+1
| | | | | | | | | (bzr r9696)
* | | merge from trunkKrzysztof Kosi??ski2010-08-081-3/+2
|\| | | | | | | | (bzr r9508.1.52)
| * | - Snap while rotating an object using the selector toolDiederik van Lierop2010-07-121-1/+1
| |/ | | | | | | | | | | - Rename the ConstraintLine class to SnapConstraint - Move some duplicated code to 2geom (bzr r9607)
| * fix wrong transform for dot drawing with pen or pencil toolJohan B. C. Engelen2010-06-221-2/+1
| | | | | | | | | | | | Fixed bugs: - https://launchpad.net/bugs/597136 (bzr r9529)
* | Wholesale cruft removal part 4; fix crash when rendering guidesKrzysztof Kosi??ski2010-08-051-1/+1
|/ | | (bzr r9508.1.48)
* Remove redundancy from snapping API (type of snapsource no longer has to be ↵Diederik van Lierop2010-01-231-9/+7
| | | | | specified explicitly) (bzr r9014)
* Refactoring the snapping API (making it easier to maintain and understand ↵Diederik van Lierop2010-01-091-3/+1
| | | | | for the devs) (bzr r8960)
* fix bug 427267, single dots inside transformed groups misplacedThomas Holder2009-11-231-1/+2
| | | (bzr r8835)
* Revert recent refactoring changes by johnce because they break the build, ↵Maximilian Albert2009-08-061-2/+2
| | | | | which cannot be fixed easily. (bzr r8422)
* SPDocument->Documentjohnce2009-08-051-2/+2
| | | (bzr r8404)
* restore the pattern from clipboard abilitybulia byak2009-03-291-1/+1
| | | (bzr r7590)
* for the stretched pattern-on-path, length makes no difference, but it saves ↵bulia byak2009-03-261-1/+1
| | | | | at least the ellipse from going bananas when you rotate the path with lpe (a stopgap solution, until we resolve the transform issue) (bzr r7570)
* Implement constrained snapping when dragging the position and size handles ↵Diederik van Lierop2009-03-151-1/+1
| | | | | of a rectangle in the node tool, with the ctrl-key being pressed. (bzr r7497)
* remove desktop-affine.h and refactor sp_desktop_dt2doc_* callsThomas Holder2009-03-131-2/+1
| | | (bzr r7478)
* - When finalizing a curve by double clicking then don't snap to the curve itselfDiederik van Lierop2009-03-071-3/+9
| | | | | - When a node and an intersection coincide then snap to the node, not the intersection (but only if snapping is turned on for both of them of course) (bzr r7438)
* The snap indicator's tooltip now displays "A to B", whereas before it only ↵Diederik van Lierop2009-02-201-2/+2
| | | | | displayed "B". (bzr r7335)
* Remove superfluous FreehandShape LPEMaximilian Albert2009-02-191-2/+2
| | | (bzr r7330)
* - The snap-delay mechanism should now be more robust. From now on, it must ↵Diederik van Lierop2009-01-251-2/+2
| | | | | | | 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)
* avoiding freehand drawings with LPEs with no fill at all. Using black by ↵Felipe Corr??a da Silva Sanches2009-01-141-1/+6
| | | | | default. Johan, please correct-me in case I am mistaken. (bzr r7131)
* Make all tools consider full parent transform (up to document, not just up ↵Thomas Holder2008-12-081-2/+2
| | | | | | | to root) See http://wiki.inkscape.org/wiki/index.php/ViewBoxToDo (bzr r6974)
* Merge from trunkTed Gould2008-10-311-1/+1
| | | (bzr r6887)
* From trunkTed Gould2008-10-271-18/+23
| | | (bzr r6885)
* Some NR::Point ==> Geom::Point replacementsMaximilian Albert2008-09-181-11/+11
| | | (bzr r6835)
* Move single-dot-creation function to a better location (and rename it ↵Maximilian Albert2008-09-011-0/+59
| | | | | accordingly) (bzr r6746)
* Modify the parameters required for setting up the SnapManagerDiederik van Lierop2008-08-281-2/+2
| | | (bzr r6722)
* Apply instant-LPEs _before_ adding new items to selection (so that they can ↵Maximilian Albert2008-08-191-4/+4
| | | | | be taken into account on new items) (bzr r6701)
* Switch back to all_inactive mode after applying a geometric LPEMaximilian Albert2008-08-181-0/+6
| | | (bzr r6674)
* Don't draw anchors in LPEToolContextMaximilian Albert2008-08-181-2/+4
| | | (bzr r6655)
* Remove done_pathparam_set and friends because it currently isn't used any ↵Maximilian Albert2008-08-181-2/+0
| | | | | more anyway; reimplement its intended functionality by using isReady() (bzr r6643)
* fixme is solvedMaximilian Albert2008-08-141-1/+0
| | | (bzr r6624)
* make spcurve::first_point and last_point boost::optionalJohan B. C. Engelen2008-08-131-2/+2
| | | (bzr r6617)
* Initialize the pointer variables in draw-context with NULL, just to be on ↵Maximilian Albert2008-08-131-0/+18
| | | | | the safe side (bzr r6614)
* Move all of the snapper code to 2geomDiederik van Lierop2008-08-111-2/+6
| | | (bzr r6606)
* remove many unnecessary to_2geom and from_2geom callsJohan B. C. Engelen2008-08-081-3/+3
| | | (bzr r6593)
* New mode in pen tool to draw paraxial linesMaximilian Albert2008-08-061-2/+2
| | | (bzr r6575)