summaryrefslogtreecommitdiff
path: root/src/QGLView.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/QGLView.h')
-rw-r--r--src/QGLView.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/QGLView.h b/src/QGLView.h
index 12be085..7bd6415 100644
--- a/src/QGLView.h
+++ b/src/QGLView.h
@@ -40,6 +40,7 @@ public:
else this->cam.projection = Camera::PERSPECTIVE;
}
std::string getRendererInfo() const;
+ float getDPI() { return this->devicePixelRatio(); }
bool save(const char *filename);
void resetView();
contact: Jan Huwald // Impressum