summaryrefslogtreecommitdiffstats
path: root/src/object/sp-guide.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-08-14fix #371 guides label upside downThomas Holder1-3/+3
2019-07-27Make doc2dt a document propertyThomas Holder1-5/+5
Closes #340
2019-06-06Refactoring: call setAttribute() directly.Shlomi Fish1-3/+3
Call this->setAttribute(...) directly instead of this->getRepr()->setAttribute(...). This avoids clutter and mental indirection. See http://wiki.inkscape.org/wiki/index.php?title=Refactoring_projects&oldid=112116 and https://en.wikipedia.org/wiki/Law_of_Demeter . --- I hereby disclaim any implicit or explicit ownership of my changes in this changeset, and put them under a multiple licence consisting of your choice of one of more of: - The CC0 / Public Domain - https://creativecommons.org/choose/zero/ . - The MIT / Expat license - https://en.wikipedia.org/wiki/MIT_License - The default licence of your project - The https://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License - version 2.1 or higher - The https://en.wikipedia.org/wiki/GNU_General_Public_License - version 2 or higher - Any licence in the 2018-Aug-27 popular licenses list of https://opensource.org/licenses - The https://en.wikipedia.org/wiki/Apache_License version 2.0 or later - The https://en.wikipedia.org/wiki/Artistic_License version 2.0 or later - The https://en.wikipedia.org/wiki/ISC_license - The https://opensource.org/licenses/BSD-2-Clause Crediting me will be nice, but not mandatory, and you can change the licence of the project without needing my permission.
2019-03-22Allow guide duplication in guides dialogMarc Jeanmougin1-0/+4
2019-03-06Avoid the “using std::*;” or “using namespace std;” constructs.Emmanuel Gil Peyrot1-4/+4
This makes the code a lot less readable and greppable for no reason.
2019-02-18Fix #91 "guides around the page" with y-axis downThomas Holder1-6/+7
2019-01-02modernize loopsMarc Jeanmougin1-2/+2
2018-11-08Clarify licensesMax Gaukler1-1/+2
- add license headers to everything - convert a few files from public domain or LGPL2.1+ to GPL2+ - some archaeology to clarify which files are from which library
2018-10-06SPAttributeEnum typed function argumentsThomas Holder1-1/+1
2018-10-01Remove #include "config.h" wherever possibleEduard Braun1-4/+0
2018-09-23!SP_ACTIVE_DESKTOP -> is_yaxisdown trueThomas Holder1-5/+5
Fixes 3D box --export-png
2018-09-12New option to invert y-axisThomas Holder1-1/+30
Replaces all hard coded or implicit desktop coordinate usage with doc2dt multiplication. New global preference: Interface > Origin at upper left https://bugs.launchpad.net/inkscape/+bug/170049
2018-06-18Run clang-tidy’s modernize-use-emplace pass.Emmanuel Gil Peyrot1-4/+4
This reduces the boilerplate required to add a new element to a container.
2018-06-18Run clang-tidy’s modernize-use-bool-literals pass.Emmanuel Gil Peyrot1-1/+1
This makes it clearer whether an integer or a boolean has to be passed in this specific call.
2018-06-18Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot1-7/+7
This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
2018-05-04Guides created after "lock all guides" selected should be lockedGeoff Lankow1-0/+3
2018-05-04Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin1-13/+13
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
2018-04-29Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin1-13/+13
2018-01-30Move classes derived from SPObject to own directory.Tavmjong Bah1-1/+1
A lot of header clean-up.
2017-12-05Fix bug#1643179. Guides lock lost on load. Patch proposed in #5Jabier Arraiza1-3/+3
2017-09-21Remove usage of GString in sp-guide.cppJan Lingscheid1-9/+6
2016-08-03Removed unused includes, decreased compilation time. Once againAdrian Boguszewski1-5/+1
(bzr r15034)
2016-07-28Reverted changes to r15024 after many building problemsAdrian Boguszewski1-1/+5
(bzr r15027)
2016-07-28Removed unused includes, decrease compilation timeAdrian Boguszewski1-5/+1
(bzr r15025)
2016-06-03Fix guide placement when guides are generated by a template with ↵Tavmjong Bah1-0/+1
width/height/viewBox different from default SVG file. (bzr r14947)
2016-05-21Fix regression: restore order in resources (e.g. pattern list)Marc Jeanmougin1-1/+1
(bzr r14907)
2016-02-08Sync 2Geom to commit 5ee51c1c4f2066faa3e2c82021fc92671ad44ba4Krzysztof Kosi??ski1-1/+1
(bzr r14639)
2016-01-16Header cleanupLiam P. White1-1/+0
(bzr r14585.1.3)
2016-01-16Remove buggy and presumptuous usage of SP_ACTIVE_DESKTOP in renderer code; ↵Liam P. White1-2/+3
fixes 1526701 Fixed bugs: - https://launchpad.net/bugs/1526701 (bzr r14585.1.1)
2015-12-11Fix crash on hidden guidesJabier Arraiza Cenoz1-1/+6
(bzr r14527)
2015-12-11Clean up some code, only init the SPKnot in one place.Martin Owens1-1/+3
(bzr r14526)
2015-12-10hide/show handle with guideMarc Jeanmougin1-0/+2
(bzr r14524)
2015-12-10Remove CtrlPoint and replace with SPKnotMartin Owens1-2/+0
(bzr r14523)
2015-12-07cppification : GHashMaps replaced by stl maps. getResouceList now gives a ↵Marc Jeanmougin1-3/+4
std::set<SPObject *>. Should give some performance improvements (quite a few linear lookups are now logarithmic) (bzr r14504.1.6)
2015-12-05Changed from Desktop to namedview to handle multiples documentsJabier Arraiza Cenoz1-4/+1
(bzr r14500.1.8)
2015-12-05cppification: GSList replaced by vectors (mostly related to guides and grids)Marc Jeanmougin1-29/+27
(bzr r14504.1.1)
2015-12-03Add global lock guides to the rulersJabier Arraiza Cenoz1-1/+3
(bzr r14500.1.5)
2015-12-03Added no highlight and cross icon on locked guidesJabier Arraiza Cenoz1-0/+1
(bzr r14500.1.4)
2015-12-02Add lock to guidesJabier Arraiza Cenoz1-0/+28
(bzr r14500.1.1)
2015-10-21Fix for bug #1498444 (Guides flicker under the mouse after changing the ↵Nicolas Dufour1-2/+2
label of any guide) and bug #1469514 (Crash when renaming a guideline label in a new session). Fixed bugs: - https://launchpad.net/bugs/1498444 - https://launchpad.net/bugs/1469514 (bzr r14426)
2015-07-15Read inkscape:color attribute in more placesGeoff Lankow1-0/+1
(bzr r14228.1.4)
2015-07-11Read attribute after setting the defaultGeoff Lankow1-2/+3
(bzr r14228.1.2)
2015-07-07Read inkscape:color attribute on guidesGeoff Lankow1-0/+5
(bzr r14228.1.1)
2015-02-25create SPObject factoryLiam P. White1-10/+0
(bzr r13939.1.1)
2015-01-29for snapping to grids and guides, reduce numerical error for the case of ↵Alvin Penner1-2/+9
uniform scaling of viewbox (bzr r13881)
2015-01-23improved precision in placing grids and guides. (Bug 1373311)Alvin Penner1-4/+18
Fixed bugs: - https://launchpad.net/bugs/1373311 (bzr r13868)
2014-12-21Remove sp_desktop_document and finish cleanup of desktop-handles.hLiam P. White1-3/+3
(bzr r13820)
2014-11-26Correct guide placement when created by dragging onto canvas or by creating ↵Tavmjong Bah1-1/+11
guides around object/page. (bzr r13771)
2014-11-26Use SVG width/height and viewBox to correct guide position.Tavmjong Bah1-1/+18
(bzr r13769)
2014-11-24Units: make it absolutely clear that Document properties unit dropdown is ↵Johan B. C. Engelen1-2/+2
for UI Display Units. Upon document load, calculate the units used for SVG values, if a viewbox is available. If not, default to "px" SVG units. Change all code to use either Display units OR svg units. (bzr r13751)