summaryrefslogtreecommitdiffstats
path: root/src/util/units.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make display unit change roll out to toolbarsNathan Lee2019-04-301-0/+2
| | | | | | | Add exception for measure tool, which uses preferences Fixes https://gitlab.com/inkscape/inbox/issues/393 Partial fix: https://gitlab.com/inkscape/inkscape/issues/208
* Clarify licensesMax Gaukler2018-11-081-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
* Remove util/unordered-containers.h aliases.Emmanuel Gil Peyrot2018-10-181-4/+16
|
* Run clang-tidy’s modernize-pass-by-value pass.Emmanuel Gil Peyrot2018-06-181-4/+4
| | | | | This avoids having to pass variables by reference before copying them when calling a constructor.
* Un-revert: Allow Unit object to do conversions, pipe Quality class method ↵Martin Owens2016-03-221-0/+5
| | | | | via that. (bzr r14739)
* Reverting 14701.Tavmjong Bah2016-03-181-8/+0
| | | (bzr r14716.1.2)
* Add a units box to line height and wire in the style units, plus some cleanupMartin Owens2016-03-121-0/+8
| | | (bzr r14701)
* Units: make it absolutely clear that Document properties unit dropdown is ↵Johan B. C. Engelen2014-11-241-0/+3
| | | | | | | 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)
* inspired by r13052, fix up the code to hopefully work when someone has ↵Johan B. C. Engelen2014-02-241-1/+7
| | | | | | | | different units for height and width of the page. Fixed bugs: - https://launchpad.net/bugs/1240308 (bzr r13053)
* saving units is not implemented yet, and noone should call the save methodJohan B. C. Engelen2013-10-291-2/+2
| | | (bzr r12750)
* Units: stop newing Unit objects. pass around pointers to "undeletable" Unit ↵Johan B. C. Engelen2013-10-121-14/+16
| | | | | objects in the UnitTable. I think we should move to using indexed units, and pass around the index of the unit in the unittable, or smth like that... ? (bzr r12679)
* Rewrite the internals of the unit code for somewhat better performanceKrzysztof Kosi??ski2013-10-051-35/+46
| | | (bzr r12661)
* Comment clean up.Matthew Petroff2013-09-161-14/+1
| | | (bzr r12475.1.27)
* Added Quantity comparison functions.Matthew Petroff2013-08-281-0/+5
| | | (bzr r12475.1.7)
* Use enum names instead of numbers.Matthew Petroff2013-08-281-1/+1
| | | (bzr r12475.1.6)
* Use real world units for page sizes.Matthew Petroff2013-08-251-0/+4
| | | (bzr r12475.1.1)
* Switched to global UnitTable.Matthew Petroff2013-08-041-0/+2
| | | (bzr r12380.1.62)
* Cleanup.Matthew Petroff2013-07-301-1/+12
| | | (bzr r12380.1.52)
* Merge from trunk.Matthew Petroff2013-07-301-6/+4
|\ | | | | (bzr r12380.1.51)
| * Remove the "simple SAX" parser. Replace its only use (loading of unitKrzysztof Kosi??ski2013-07-241-6/+4
| | | | | | | | | | definitions in util/units.cpp) with Glib::Markup (bzr r12438)
* | Removed SPMetric.Matthew Petroff2013-07-221-1/+0
| | | | | | (bzr r12380.1.49)
* | Add string output functions for units.Matthew Petroff2013-07-201-0/+3
| | | | | | (bzr r12380.1.46)
* | Switch unit functions from using pointer arguements to reference arguements.Matthew Petroff2013-07-181-11/+11
| | | | | | (bzr r12380.1.28)
* | Added more more convientent unit functions.Matthew Petroff2013-07-181-1/+4
| | | | | | (bzr r12380.1.27)
* | Added more convienient unit conversion functions.Matthew Petroff2013-07-181-1/+5
| | | | | | (bzr r12380.1.26)
* | Added quantity string parsing.Matthew Petroff2013-07-181-12/+15
| | | | | | (bzr r12380.1.24)
* | Fixed botched merge.Matthew Petroff2013-07-171-8/+2
| | | | | | (bzr r12380.1.18)
* | Merge from trunk.Matthew Petroff2013-07-171-0/+55
|\| | | | | (bzr r12380.1.17)
| * Minor C++ish refactoring pass.Jon A. Cruz2013-07-131-7/+55
| | | | | | (bzr r12419)
* | Added copyright header and name to AUTHORS.Matthew Petroff2013-07-171-0/+11
| | | | | | (bzr r12380.1.13)
* | Ported sp-namedview.cpp (todo: fix a bunch of things).Matthew Petroff2013-07-091-0/+1
| | | | | | (bzr r12380.1.8)
* | Switch setWidth and setHeight to use Quantity and switch to forward ↵Matthew Petroff2013-07-061-2/+2
| | | | | | | | | | declaration of Inkscape::Util::Quantity in document.h. (bzr r12380.1.7)
* | Renamed Length class to Quantity class, fixed bugs, and added functions.Matthew Petroff2013-07-021-6/+13
| | | | | | (bzr r12380.1.3)
* | Added length class.Matthew Petroff2013-06-251-0/+12
|/ | | (bzr r12380.1.1)
* UI. Patch for Bug #666370 (Not all units in the Object Transform dialog are ↵Nicolas Dufour2012-03-221-0/+2
| | | | | | | | translatable) by Fernando Lucchesi. Fixed bugs: - https://launchpad.net/bugs/666370 (bzr r11116)
* moving trunk for module inkscapeMenTaLguY2006-01-161-0/+88
(bzr r1)