diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-12-11 16:31:22 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-12-11 20:45:17 +0000 |
commit | e0e96579ce3a248ee5d3b07ecf90f38e2020c555 (patch) | |
tree | 7ef471d4e33b8dc2b0c971b86582571fb6e42e61 /include | |
parent | e2be2c23c1ad61b3bd640be6f16d66f5cd925d38 (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.hxx | 6 |
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); } } |