summaryrefslogtreecommitdiff
path: root/svx/inc/svx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2011-05-10 16:31:43 +0200
committerLuboš Luňák <l.lunak@suse.cz>2011-05-10 16:44:57 +0200
commit7a6ebd9e527aaa1dc379e789f3379bc21753b5d8 (patch)
tree6f449d8dd1a0fe94e34784108c5af10041d14f2e /svx/inc/svx
parentb9ad7c21f3646d532bee8235b028ae6be705e792 (diff)
make it possible to update the region passed to BeginDrawLayers() (bnc#683550)
Writer needs this, as it changes the region during painting.
Diffstat (limited to 'svx/inc/svx')
-rw-r--r--svx/inc/svx/svdpntv.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/svx/inc/svx/svdpntv.hxx b/svx/inc/svx/svdpntv.hxx
index cb9c97e70a..b300cf9f93 100644
--- a/svx/inc/svx/svdpntv.hxx
+++ b/svx/inc/svx/svdpntv.hxx
@@ -400,6 +400,8 @@ public:
// #i74769# Interface change to use common BeginCompleteRedraw/EndCompleteRedraw
// #i76114# bDisableIntersect disables intersecting rReg with the Window's paint region
SdrPaintWindow* BeginDrawLayers(OutputDevice* pOut, const Region& rReg, bool bDisableIntersect = false);
+ // used when the region passed to BeginDrawLayers needs to be changed
+ void UpdateDrawLayersRegion(OutputDevice* pOut, const Region& rReg, bool bDisableIntersect = false);
void EndDrawLayers(SdrPaintWindow& rPaintWindow, bool bPaintFormLayer);
protected:
@@ -412,6 +414,8 @@ protected:
// used to paint the form layer after the PreRender device is flushed (painted) to the window.
void ImpFormLayerDrawing(SdrPaintWindow& rPaintWindow) const;
+ Region OptimizeDrawLayersRegion(OutputDevice* pOut, const Region& rReg, bool bDisableIntersect);
+
public:
sal_Bool IsPageVisible() const { return bPageVisible; } // Seite (weisse Flaeche) malen oder nicht
sal_Bool IsPageBorderVisible() const { return bPageBorderVisible; } // Seite (weisse Flaeche) malen oder nicht