summaryrefslogtreecommitdiff
path: root/src/tikzit.h
diff options
context:
space:
mode:
authorAleks Kissinger <aleks0@gmail.com>2018-11-22 09:54:45 +0100
committerAleks Kissinger <aleks0@gmail.com>2018-11-22 09:54:45 +0100
commitdd6ab70ee19210c83869e53ef6003f00df15bbbd (patch)
tree262fe35bbdd10ce0042d6bf162a7e01995fdabf2 /src/tikzit.h
parent644eca3d05377c8dcc74b42cf93d87dde9f9dce2 (diff)
minor
Diffstat (limited to 'src/tikzit.h')
-rw-r--r--src/tikzit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tikzit.h b/src/tikzit.h
index d36a940..5fed22c 100644
--- a/src/tikzit.h
+++ b/src/tikzit.h
@@ -80,6 +80,7 @@
#define GRID_SEP 10
#define GRID_SEPF 10.0f
+
inline QPointF toScreen(QPointF src)
{ src.setY(-src.y()); src *= GLOBAL_SCALEF; return src; }