diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-11-13 16:18:56 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-11-13 16:18:56 +0100 |
commit | dfc9e510aedb52375da02a8776259d21ecf14587 (patch) | |
tree | 17054b06a3452a0c563701a6afc623286e58e51a /dw/platform.hh | |
parent | 7b81c09bb70cdfd59f80685eb218b1b883f04240 (diff) |
add dpiX () / dpiY () methods to Platform and Layout
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; /* * --------------------------------------------------------- |