From 47a006dc5a7cccc54172edc85fb4e5079298a458 Mon Sep 17 00:00:00 2001
From: "Dr. Martin Goik" <goik@hdm-stuttgart.de>
Date: Sun, 18 Nov 2018 22:15:00 +0100
Subject: [PATCH] Image sizes and screenshot measuring

---
 Doc/sizes.txt        |  3 +++
 bin/getWindowSize.pl | 11 +++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 Doc/sizes.txt
 create mode 100755 bin/getWindowSize.pl

diff --git a/Doc/sizes.txt b/Doc/sizes.txt
new file mode 100644
index 000000000..745f68be0
--- /dev/null
+++ b/Doc/sizes.txt
@@ -0,0 +1,3 @@
+SVG: 170 x 75
+
+Window: 1598 x 700
diff --git a/bin/getWindowSize.pl b/bin/getWindowSize.pl
new file mode 100755
index 000000000..021fb1628
--- /dev/null
+++ b/bin/getWindowSize.pl
@@ -0,0 +1,11 @@
+#!  /bin/sh
+XWINFO=`xwininfo | perl -ne '/Window id: (0x[\da-z]+)/ and print $1'`
+echo "#################################"
+echo $XWINFO
+while [ 1 ]
+do
+    date
+    xwininfo -id $XWINFO | grep 'Width\|Height'
+    sleep 1
+done
+
-- 
GitLab