diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-02-19 12:12:34 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-02-23 10:10:27 +0100 |
commit | 2af65ff30e8cef6be21fee1ef20f6b1db4451ccf (patch) | |
tree | e06e6c5c3ffe1781a616752593ba74bb8fd817c1 /vcl | |
parent | 98115a182d5c69cdbbefdf89b5584490c92faa19 (diff) |
Add OutputDevice::isTiledRendering()
This is similar to SwViewShell::isTiledRendering, but while SwViewShell
describes a state of the application, this one describes a state of the
output device. The output device may be created by LOK client code,
while the view shell may not be accessible from lower layers of the
stack, so we need both.
Change-Id: I82f7755eb73603bd79283272fba4970dccae8784
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/outdev/outdev.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vcl/source/outdev/outdev.cxx b/vcl/source/outdev/outdev.cxx index 0305c947637d..85a222c9c536 100644 --- a/vcl/source/outdev/outdev.cxx +++ b/vcl/source/outdev/outdev.cxx @@ -99,6 +99,7 @@ OutputDevice::OutputDevice() : mpOutDevStateStack = new OutDevStateStack; mpPDFWriter = NULL; mpAlphaVDev = NULL; + mbTiledRendering = false; mpExtOutDevData = NULL; mnOutOffX = 0; mnOutOffY = 0; @@ -397,6 +398,16 @@ bool OutputDevice::SupportsOperation( OutDevSupportType eType ) const return bHasSupport; } +void OutputDevice::setTiledRendering(bool bTiledRendering) +{ + mbTiledRendering = bTiledRendering; +} + +bool OutputDevice::isTiledRendering() const +{ + return mbTiledRendering; +} + // Direct OutputDevice drawing public functions void OutputDevice::DrawOutDev( const Point& rDestPt, const Size& rDestSize, |