summaryrefslogtreecommitdiffstats
path: root/include/canvas/canvastools.hxx
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:44:26 +0000
commitf88b5ab8692ee7ecf58b570e703d0e7f10cc2f0d (patch)
treedce878d99bfe4287a4c9e80466dfbf97bc7fafb5 /include/canvas/canvastools.hxx
parentRelated: fdo#87242 init VirtualDevice with size of surface (diff)
downloadcore-f88b5ab8692ee7ecf58b570e703d0e7f10cc2f0d.tar.gz
core-f88b5ab8692ee7ecf58b570e703d0e7f10cc2f0d.zip
Related: fdo#87242 merge duplicate clip setup code
favoring the vclcanvas one for the places where they diverge Change-Id: I18e3d4e7659ebd4cb90c86718c1b1035671b4be3
Diffstat (limited to 'include/canvas/canvastools.hxx')
-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);
}
}