diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-08-04 09:48:11 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-08-04 11:29:26 +0200 |
commit | 28e465d2611adee62aac984a9c0bf731adcb793b (patch) | |
tree | d782cba6e612ade47c1002c3b92112e58b9ae770 /include/vcl/outdev.hxx | |
parent | tdf#92982 vcl rendercontext: PaintHelper: restore set buffer properties (diff) | |
download | core-28e465d2611adee62aac984a9c0bf731adcb793b.tar.gz core-28e465d2611adee62aac984a9c0bf731adcb793b.zip |
tdf#92982 vcl rendercontext: let PaintBufferGuard also manage pixel offset
Change-Id: Ifd6a75c4312f93c815f5d137f515724f3629fa0d
Diffstat (limited to 'include/vcl/outdev.hxx')
-rw-r--r-- | include/vcl/outdev.hxx | 3 |
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() ); } |