summaryrefslogtreecommitdiffstats
path: root/src/display/sodipodi-ctrl.h
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2019-05-15 19:58:43 +0000
committerDiederik van Lierop <mail@diedenrezi.nl>2019-05-20 16:22:27 +0000
commit1f69fe79b70c906eab0d78450683fa417e3f5357 (patch)
treee4cde555e4827e6ce1e6b6be359ad68e899bf7ab /src/display/sodipodi-ctrl.h
parentImprove reading of last LPE offset commit (diff)
downloadinkscape-1f69fe79b70c906eab0d78450683fa417e3f5357.tar.gz
inkscape-1f69fe79b70c906eab0d78450683fa417e3f5357.zip
Fix the alignment of the guideline origin (and other controls), such that it is drawn at exactly the right screen pixel
Diffstat (limited to 'src/display/sodipodi-ctrl.h')
-rw-r--r--src/display/sodipodi-ctrl.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/display/sodipodi-ctrl.h b/src/display/sodipodi-ctrl.h
index 50973dc98..2d26e3832 100644
--- a/src/display/sodipodi-ctrl.h
+++ b/src/display/sodipodi-ctrl.h
@@ -47,8 +47,9 @@ struct SPCtrl : public SPCanvasItem {
SPCtrlShapeType shape;
SPCtrlModeType mode;
SPAnchorType anchor;
- gint width;
- gint height;
+ gdouble width;
+ gdouble height;
+
guint defined : 1;
guint shown : 1;
guint build : 1;