diff options
Diffstat (limited to 'dw/platform.hh')
-rw-r--r-- | dw/platform.hh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dw/platform.hh b/dw/platform.hh index 0ae5d508..4dcb2681 100644 --- a/dw/platform.hh +++ b/dw/platform.hh @@ -66,6 +66,16 @@ public: * \brief Return the index of the previous glyph in string text. */ virtual int prevGlyph (const char *text, int idx) = 0; + + /** + * \brief Return screen resolution in x-direction. + */ + virtual float dpiX () = 0; + + /** + * \brief Return screen resolution in y-direction. + */ + virtual float dpiY () = 0; /* * --------------------------------------------------------- |