summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-12-11 16:31:22 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-12-11 20:45:17 +0000
commite0e96579ce3a248ee5d3b07ecf90f38e2020c555 (patch)
tree7ef471d4e33b8dc2b0c971b86582571fb6e42e61 /include
parente2be2c23c1ad61b3bd640be6f16d66f5cd925d38 (diff)
Related: fdo#87242 merge duplicate clip setup code
favoring the vclcanvas one for the places where they diverge Change-Id: I18e3d4e7659ebd4cb90c86718c1b1035671b4be3 (cherry picked from commit f88b5ab8692ee7ecf58b570e703d0e7f10cc2f0d)
Diffstat (limited to 'include')
-rw-r--r--include/canvas/canvastools.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/canvas/canvastools.hxx b/include/canvas/canvastools.hxx
index de5a76cfe217..388153718d02 100644
--- a/include/canvas/canvastools.hxx
+++ b/include/canvas/canvastools.hxx
@@ -77,6 +77,7 @@ namespace com { namespace sun { namespace star { namespace awt
} } } }
class Color;
+class OutputDevice;
namespace canvas
{
@@ -579,6 +580,11 @@ namespace canvas
::std::size_t mnEntries;
bool mbCaseSensitive;
};
+
+ CANVASTOOLS_DLLPUBLIC void clipOutDev(const css::rendering::ViewState& viewState,
+ const css::rendering::RenderState& renderState,
+ OutputDevice& rOutDev,
+ OutputDevice* p2ndOutDev=NULL);
}
}