summaryrefslogtreecommitdiffstats
path: root/src/display/canvas-axonomgrid.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use the line intersection routines in 2geom/line.h instead of the deprecated ↵Diederik van Lierop2009-04-121-15/+29
| | | | | ones in 2geom/geom.h. (I know we're in a refactoring freeze, but this one I was already working on before this freeze was announced and it's quite safe IMHO. It's only a small change in 2geom's API and can hardly do any real harm. I will not refactor anything else until after the v0.47 release, promised!) (bzr r7688)
* * Implement constrained snapping of knotsDiederik van Lierop2009-03-131-2/+8
| | | | | | * Implement snapping of the rectangle's radius handles * Line snappers: set the snap target in the derived class instead of in findBestSnap() (bzr r7479)
* 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)
* Store the snapper tolerances in the snap-preferences instead of in each ↵Diederik van Lierop2009-01-311-0/+15
| | | | | snapper individualy. This way we don't have to update all snappers when the namedview has been updated (and we can get rid of the _update_snap_distances() call) (bzr r7208)
* Add buttons for snapping to grids and/or guidesDiederik van Lierop2009-01-281-0/+4
| | | (bzr r7200)
* 1) snap midpoints of line segments (both as source and as target)Diederik van Lierop2008-12-141-27/+27
| | | | | 2) snap intersections within a single shape (as source; as target was already implemented) (bzr r7008)
* fix compile.Johan B. C. Engelen2008-12-131-1/+1
| | | | | re-enable decrepated 2geom functions. (bzr r6998)
* From trunkTed Gould2008-10-271-11/+10
| | | (bzr r6885)
* Next roud of NR ==> Geom conversionMaximilian Albert2008-09-181-28/+28
| | | (bzr r6839)
* Fix minor breakage in grid preferences caused by pref refactoring.Krzysztof Kosi??ski2008-09-171-2/+3
| | | (bzr r6831)
* Refactored preferences handling into a new version of Krzysztof Kosi??ski2008-09-161-11/+13
| | | | | | | | the Inkscape::Preferences class. Removed all use of prefs_get_string_attribute(), pref_path_get_nth_child() and create_pref() in favor of the new API. Replaced some "0 or 1" integer preferences with booleans. (bzr r6823)
* If a snapper needs a reference to a SPNamedView or a SPDesktop, then get ↵Diederik van Lierop2008-09-071-2/+2
| | | | | that reference via the SnapManager (instead of storing references in the snapper and accessing them directly) (bzr r6773)
* Move all of the snapper code to 2geomDiederik van Lierop2008-08-111-22/+22
| | | (bzr r6606)
* 2geomify a lot of NR::Points to Geom::PointJohan B. C. Engelen2008-08-011-2/+2
| | | (bzr r6513)
* update for 32 instead of 24 bpp canvas bufbulia byak2008-06-241-2/+2
| | | (bzr r6041)
* system clipboard support (bug #170185) from Chris KosińskiMenTaLguY2008-03-261-1/+1
| | | (bzr r5190)
* Convert remaining old RegisteredWdg's to RegisteredWidget's. Removed ↵Johan B. C. Engelen2008-02-271-29/+25
| | | | | RegisteredWdg. (bzr r4887)
* Fix initialization of grids. Should finally fix Bug #172778Johan B. C. Engelen2008-02-121-2/+2
| | | (bzr r4716)
* fix axonomgrid emphasizingJohan B. C. Engelen2008-02-041-1/+1
| | | (bzr r4657)
* fix emphasize coloring of grid lines (preference, dotted xy-grid and axonomgrid)Johan B. C. Engelen2008-02-041-18/+25
| | | (bzr r4655)
* RegisteredColorPicker is now subclassed from RegisteredWidget<ColorPicker> ↵gustav_b2008-01-171-9/+14
| | | | | instead of old RegisteredWdg (bzr r4530)
* fix initialization of grid document propertiesJohan B. C. Engelen2008-01-161-1/+22
| | | (bzr r4522)
* RegisteredScalar subclassed from RegisteredWidget<Scalar> instead of old ↵Johan B. C. Engelen2008-01-161-12/+9
| | | | | RegisteredWdg (bzr r4521)
* RegisteredCheckbutton is now subclassed from RegisteredWidget<CheckButton>Johan B. C. Engelen2008-01-151-61/+68
| | | (bzr r4500)
* 1) fix snapping while scalingDiederik van Lierop2008-01-031-1/+1
| | | | | | | 2) fix constrained snapping 3) improve snapping logic (again), or more specifically: better obey "always snap" 4) refactoring to reduce risk of bugs: renaming variables and methods for better readability, adding class members instead of using std::pairs, etc. (bzr r4379)
* angled guidelines: create angled line when dragging from edge of rulersJohan B. C. Engelen2007-12-241-2/+2
| | | (bzr r4296)
* fix bug where changing units changed angles of axonometric gridJohan B. C. Engelen2007-12-211-4/+4
| | | (bzr r4273)
* fix default grid unit scaling, fix crash for unknown unit.Johan B. C. Engelen2007-12-161-5/+7
| | | (bzr r4240)
* prevent writing to xml when initializing grid. fixes not working default units.Johan B. C. Engelen2007-12-161-0/+2
| | | (bzr r4239)
* add default unit to grid preferences.Johan B. C. Engelen2007-12-161-1/+11
| | | (bzr r4238)
* Add default grid settings to Inkscape preferences.Johan B. C. Engelen2007-12-141-9/+9
| | | (bzr r4230)
* Toggle snapping for each grid individuallyDiederik van Lierop2007-12-121-2/+5
| | | (bzr r4219)
* Snap to axonometric grid linesDiederik van Lierop2007-12-081-11/+65
| | | (bzr r4194)
* remove my drama commentJohan B. C. Engelen2007-12-061-2/+2
| | | (bzr r4186)
* 3D grid: When snapping, consider both left and right vertical lines next to ↵Johan B. C. Engelen2007-12-041-4/+4
| | | | | the point. (see rev 16610) (bzr r4171)
* When snapping, consider all four grid lines around the current point instead ↵Diederik van Lierop2007-12-041-27/+2
| | | | | of only the nearest two (bzr r4168)
* Improve default axonomgrid settings (colors, and spacing=1mm since it will ↵Johan B. C. Engelen2007-12-021-4/+7
| | | | | be used for technical drawing probably. pixels seems like a strange default choice in that case) (bzr r4159)
* Snapping of axonometric grid: correctly snap to vertical gridline. angled ↵Johan B. C. Engelen2007-12-021-14/+11
| | | | | lines not implemented yet. (bzr r4158)
* Fix emphasized line drawing for axonometric gridJohan B. C. Engelen2007-12-011-16/+17
| | | (bzr r4149)
* add visibility and snap_enabled checkbuttons for grids.Johan B. C. Engelen2007-11-291-1/+11
| | | | | visibility already works, snap_enabled not yet. (bzr r4146)
* show gridtype name in document propertiesJohan B. C. Engelen2007-11-291-1/+1
| | | (bzr r4145)
* Renaming classes: SnappedLine -> SnappedLineSegment, and SnappedInfiniteLine ↵Diederik van Lierop2007-11-091-1/+1
| | | | | -> SnappedLine (bzr r4048)
* Oops, don't use tabs! (replace tabs by 4 spaces)Diederik van Lierop2007-11-031-2/+2
| | | (bzr r4020)
* Groundwork to snap to intersections, e.g. intersections of gridlines with ↵Diederik van Lierop2007-11-031-0/+7
| | | | | guidelines, and of objects with other objects. The snappers used to return only SnappedPoints, but now also SnappedLines and SnappedInfiniteLines can be returned. SnappedPaths will be implemented later. (bzr r4016)
* Warning cleanupJon A. Cruz2007-10-261-2/+2
| | | (bzr r3962)
* noop: CodingStyle: re-indent a few files that had mixtures of spaces & tabs ↵Peter Moulder2007-09-291-36/+27
| | | | | for indentation. (bzr r3816)
* noop: CodingStyle: const placementPeter Moulder2007-09-291-34/+33
| | | (bzr r3815)
* Fix #1740146.Johan B. C. Engelen2007-07-061-11/+11
| | | (bzr r3190)
* New grids are almost ready to fly!Johan B. C. Engelen2007-04-131-4/+5
| | | (bzr r2873)
* Purging old axonometric grid code: reworked it into the new grid class ↵Johan B. C. Engelen2007-03-251-281/+487
| | | | | structure. Still needs alot of work (snapping mostly and code cleansing). (bzr r2757)