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 /include | |
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 'include')
-rw-r--r-- | include/vcl/outdev.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index ec1063b6b717..80178b3c191e 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -275,6 +275,8 @@ private: ImplOutDevData* mpOutDevData; std::vector< VCLXGraphics* >* mpUnoGraphicsList; vcl::PDFWriterImpl* mpPDFWriter; + /// Set if we are doing the tiled rendering. + bool mbTiledRendering; vcl::ExtOutDevData* mpExtOutDevData; // TEMP TEMP TEMP @@ -476,6 +478,11 @@ public: void SetExtOutDevData( vcl::ExtOutDevData* pExtOutDevData ) { mpExtOutDevData = pExtOutDevData; } vcl::ExtOutDevData* GetExtOutDevData() const { return mpExtOutDevData; } + /// Set if we are doing tiled rendering. + void setTiledRendering(bool bTiledRendering); + /// Are we doing tiled rendering? + bool isTiledRendering() const; + ///@} |