From 0bcb1e71def75a38d6f72d5dbd0c1d25ff828133 Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Wed, 2 Nov 2005 12:42:22 +0000 Subject: INTEGRATION: CWS canvas02 (1.5.4); FILE MERGED 2005/10/09 09:16:14 thb 1.5.4.4: RESYNC: (1.6-1.7); FILE MERGED 2005/08/30 11:34:02 thb 1.5.4.3: #i53964# Added optional rotation angle parameter to modifyClip (and changed all call sites); passing the font rotation as an additional parameter, when calling modifyClip for TextActions. 2005/08/24 23:02:58 thb 1.5.4.2: #i52876# Added CachedPrimitiveBase base class for common XCachedPrimitive handling; removed external header guards from cxx files 2005/06/17 23:15:11 thb 1.5.4.1: #i48939# Handle clip correctly for transparency groups; adapted clip handling for sprites (after clarifying the UNO API semantics) --- .../source/mtfrenderer/transparencygroupaction.cxx | 65 ++++++---------------- 1 file changed, 18 insertions(+), 47 deletions(-) diff --git a/cppcanvas/source/mtfrenderer/transparencygroupaction.cxx b/cppcanvas/source/mtfrenderer/transparencygroupaction.cxx index 5033de9fed9f..68edc9645ad8 100644 --- a/cppcanvas/source/mtfrenderer/transparencygroupaction.cxx +++ b/cppcanvas/source/mtfrenderer/transparencygroupaction.cxx @@ -4,9 +4,9 @@ * * $RCSfile: transparencygroupaction.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: rt $ $Date: 2005-09-08 08:22:52 $ + * last change: $Author: kz $ $Date: 2005-11-02 13:42:22 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -33,81 +33,42 @@ * ************************************************************************/ -#ifndef _SV_GEN_HXX #include -#endif #include #include #include -#include -#include - -#ifndef _RTL_LOGFILE_HXX_ #include -#endif -#ifndef _COM_SUN_STAR_RENDERING_XBITMAP_HPP__ #include -#endif -#ifndef INCLUDED_RTL_MATH_HXX #include -#endif -#ifndef _SV_METAACT_HXX #include -#endif -#ifndef _SV_BITMAPEX_HXX #include -#endif -#ifndef _VCL_CANVASTOOLS_HXX #include -#endif -#ifndef _SV_SVAPP_HXX #include -#endif -#ifndef _SV_OUTDEV_HXX #include -#endif -#ifndef _SV_VIRDEV_HXX #include -#endif -#ifndef _SV_VIRDEV_HXX #include -#endif -#ifndef _SV_GDIMTF_HXX #include -#endif -#ifndef _SV_GRADIENT_HXX #include -#endif -#ifndef _CANVAS_CANVASTOOLS_HXX #include -#endif -#ifndef _BGFX_RANGE_B2DRANGE_HXX #include -#endif -#ifndef _BGFX_NUMERIC_FTOOLS_HXX #include -#endif -#ifndef _BGFX_MATRIX_B2DHOMMATRIX_HXX #include -#endif -#ifndef _BGFX_TUPLE_B2DTUPLE_HXX #include -#endif -#ifndef _BGFX_TOOLS_CANVASTOOLS_HXX #include -#endif #include -#include -#include +#include "transparencygroupaction.hxx" +#include "outdevstate.hxx" +#include "mtftools.hxx" +#include "cppcanvas/vclfactory.hxx" using namespace ::com::sun::star; @@ -246,7 +207,12 @@ namespace cppcanvas implSetupTransform( maState, rDstPoint ); // correct clip (which is relative to original transform) - tools::modifyClip( maState, rState, rCanvas, rDstPoint, NULL ); + tools::modifyClip( maState, + rState, + rCanvas, + rDstPoint, + NULL, + NULL ); maLastSubset.mnSubsetBegin = 0; maLastSubset.mnSubsetEnd = -1; @@ -273,7 +239,12 @@ namespace cppcanvas implSetupTransform( maState, rDstPoint ); // correct clip (which is relative to original transform) - tools::modifyClip( maState, rState, rCanvas, rDstPoint, NULL ); + tools::modifyClip( maState, + rState, + rCanvas, + rDstPoint, + NULL, + NULL ); maLastSubset.mnSubsetBegin = 0; maLastSubset.mnSubsetEnd = -1; -- cgit v1.2.3