From a935626efab849f6de2736169678b5d2b8b682cc Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Mon, 22 Jan 2007 10:52:27 +0000 Subject: [PATCH] INTEGRATION: CWS thbpp6 (1.5.44); FILE MERGED 2006/12/21 17:20:54 thb 1.5.44.1: #121806# Now keeping full precision of the mtf logic coordinates across mtf->XCanvas conversion --- .../mtfrenderer/transparencygroupaction.hxx | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/cppcanvas/source/mtfrenderer/transparencygroupaction.hxx b/cppcanvas/source/mtfrenderer/transparencygroupaction.hxx index b69850529c21..93aaa053542b 100644 --- a/cppcanvas/source/mtfrenderer/transparencygroupaction.hxx +++ b/cppcanvas/source/mtfrenderer/transparencygroupaction.hxx @@ -4,9 +4,9 @@ * * $RCSfile: transparencygroupaction.hxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: rt $ $Date: 2005-09-08 08:23:12 $ + * last change: $Author: obo $ $Date: 2007-01-22 11:52:27 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -42,8 +42,11 @@ #include // auto_ptr -class Point; -class Size; +namespace basegfx { + class B2DPoint; + class B2DVector; +} + class GDIMetaFile; class Gradient; @@ -97,8 +100,8 @@ namespace cppcanvas */ static ActionSharedPtr createTransparencyGroupAction( MtfAutoPtr& rGroupMtf, const Renderer::Parameters& rParms, - const ::Point& rDstPoint, - const ::Size& rDstSize, + const ::basegfx::B2DPoint& rDstPoint, + const ::basegfx::B2DVector& rDstSize, double nAlpha, const CanvasSharedPtr& rCanvas, const OutDevState& rState ); @@ -127,8 +130,8 @@ namespace cppcanvas static ActionSharedPtr createTransparencyGroupAction( MtfAutoPtr& rGroupMtf, GradientAutoPtr& rAlphaGradient, const Renderer::Parameters& rParms, - const ::Point& rDstPoint, - const ::Size& rDstSize, + const ::basegfx::B2DPoint& rDstPoint, + const ::basegfx::B2DVector& rDstSize, const CanvasSharedPtr& rCanvas, const OutDevState& rState );