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 /vcl/source/outdev | |
parent | c36a00b811471b81abf189d80e07b5ff96243288 (diff) |
tdf#92982 vcl rendercontext: let PaintBufferGuard also manage pixel offset
Change-Id: Ifd6a75c4312f93c815f5d137f515724f3629fa0d
Diffstat (limited to 'vcl/source/outdev')
-rw-r--r-- | vcl/source/outdev/outdev.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vcl/source/outdev/outdev.cxx b/vcl/source/outdev/outdev.cxx index ecc6c8f31ed2..7ccaf3229154 100644 --- a/vcl/source/outdev/outdev.cxx +++ b/vcl/source/outdev/outdev.cxx @@ -426,6 +426,16 @@ sal_uInt16 OutputDevice::GetBitCount() const return (sal_uInt16)mpGraphics->GetBitCount(); } +void OutputDevice::SetOutOffXPixel(long nOutOffX) +{ + mnOutOffX = nOutOffX; +} + +void OutputDevice::SetOutOffYPixel(long nOutOffY) +{ + mnOutOffY = nOutOffY; +} + sal_uLong OutputDevice::GetColorCount() const { |