summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-08-04 09:48:11 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-08-04 11:29:26 +0200
commit28e465d2611adee62aac984a9c0bf731adcb793b (patch)
treed782cba6e612ade47c1002c3b92112e58b9ae770 /include
parentc36a00b811471b81abf189d80e07b5ff96243288 (diff)
tdf#92982 vcl rendercontext: let PaintBufferGuard also manage pixel offset
Change-Id: Ifd6a75c4312f93c815f5d137f515724f3629fa0d
Diffstat (limited to 'include')
-rw-r--r--include/vcl/outdev.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index 3dab4e0b75af..3eb6300898d2 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -319,7 +319,6 @@ namespace vcl {
class VCL_DLLPUBLIC OutputDevice
{
- friend class PaintHelper;
friend class Printer;
friend class VirtualDevice;
friend class vcl::Window;
@@ -500,6 +499,8 @@ public:
long GetOutputHeightPixel() const { return mnOutHeight; }
long GetOutOffXPixel() const { return mnOutOffX; }
long GetOutOffYPixel() const { return mnOutOffY; }
+ void SetOutOffXPixel(long nOutOffX);
+ void SetOutOffYPixel(long nOutOffY);
Size GetOutputSize() const
{ return PixelToLogic( GetOutputSizePixel() ); }