summaryrefslogtreecommitdiff
path: root/include/vcl/outdev.hxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2020-12-22 10:54:27 +1100
committerMike Kaganski <mike.kaganski@collabora.com>2021-01-02 14:59:49 +0100
commitab2d3462f412d5180e60512df0dfb9c3b13ebf0c (patch)
tree6c873d8d8f2f6ad3ede20ffb068a5828684b3b11 /include/vcl/outdev.hxx
parentdd91d3389c26645459d3b80649941d65efa4f63f (diff)
tdf#74702 - vcl: introduce OutputDevice::GetDeviceInfo()
Change-Id: I02c9cc83fea330ed0ba1539b2682f75d33ba80fd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108132 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include/vcl/outdev.hxx')
-rw-r--r--include/vcl/outdev.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index c0e0c8ec12f8..b909875a380f 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -48,6 +48,7 @@
#include <com/sun/star/drawing/LineCap.hpp>
#include <com/sun/star/uno/Reference.h>
+#include <com/sun/star/awt/DeviceInfo.hpp>
#include <memory>
#include <vector>
@@ -2017,6 +2018,13 @@ public:
const Point& rPt, const Size& rSz,
const GfxLink& rGfxLink, GDIMetaFile* pSubst = nullptr );
///@}
+
+public:
+ virtual css::awt::DeviceInfo GetDeviceInfo() const;
+
+protected:
+ css::awt::DeviceInfo GetCommonDeviceInfo(Size const& aDevSize) const;
+
};
#endif // INCLUDED_VCL_OUTDEV_HXX