summaryrefslogtreecommitdiff
path: root/src/outputwindow.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-12-29 16:36:53 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2018-12-29 16:36:53 +0100
commit58183c47c2b3235f8f56dc6492bb41b775dd6f26 (patch)
tree568a2ea0b7fd451a36637c44d61618b20792668b /src/outputwindow.h
parent9f33eb49ccb7fa8fb80f00865819beb499e70025 (diff)
Added image export functionality.
Diffstat (limited to 'src/outputwindow.h')
-rw-r--r--src/outputwindow.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/outputwindow.h b/src/outputwindow.h
index fc63a44..bb7ef7b 100644
--- a/src/outputwindow.h
+++ b/src/outputwindow.h
@@ -58,6 +58,8 @@ public:
double coordX();
double coordY();
+ QImage acquire(bool includePen);
+
public slots:
void timeout();
void reset();
@@ -67,6 +69,8 @@ protected:
void paintEvent(QPaintEvent* event);
private:
+ void paint(QPainter& p, const QPointF& offset, bool includePen, double scale);
+
class ColLine
{
public: