diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-11-02 12:41:15 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-11-02 12:41:15 +0000 |
commit | f136e867736ba8264cdf81303f9cf7e19a10e8b3 (patch) | |
tree | 1ac8c205b6e7eaed0dd569e0cf3a4b145a095e15 /cppcanvas/source/mtfrenderer/mtftools.hxx | |
parent | 015efe95f3be2da3d0b049553824a4c65885c31c (diff) |
INTEGRATION: CWS canvas02 (1.5.4); FILE MERGED
2005/10/09 09:12:51 thb 1.5.4.2: RESYNC: (1.5-1.6); FILE MERGED
2005/08/30 11:34:00 thb 1.5.4.1: #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.
Diffstat (limited to 'cppcanvas/source/mtfrenderer/mtftools.hxx')
-rw-r--r-- | cppcanvas/source/mtfrenderer/mtftools.hxx | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/cppcanvas/source/mtfrenderer/mtftools.hxx b/cppcanvas/source/mtfrenderer/mtftools.hxx index b1ec37729134..d16b6897c7b1 100644 --- a/cppcanvas/source/mtfrenderer/mtftools.hxx +++ b/cppcanvas/source/mtfrenderer/mtftools.hxx @@ -4,9 +4,9 @@ * * $RCSfile: mtftools.hxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: rt $ $Date: 2005-09-08 08:20:00 $ + * last change: $Author: kz $ $Date: 2005-11-02 13:41:15 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -127,13 +127,17 @@ namespace cppcanvas @param pScaling The clip is inversely scaled by this value (if given) + @param pRotation + The clip is inversely rotated by this value (if given) + @return true, if the clip has changed, false if not */ bool modifyClip( ::com::sun::star::rendering::RenderState& o_rRenderState, const struct ::cppcanvas::internal::OutDevState& rOutdevState, const CanvasSharedPtr& rCanvas, const ::Point& rOffset, - const ::basegfx::B2DVector* pScaling ); + const ::basegfx::B2DVector* pScaling, + const double* pRotation ); /** This method modifies the clip, to cancel the given transformation. @@ -155,13 +159,17 @@ namespace cppcanvas @param pScaling The clip is inversely scaled by this value (if given) + @param pRotation + The clip is inversely rotated by this value (if given) + @return true, if the clip has changed, false if not */ bool modifyClip( ::com::sun::star::rendering::RenderState& o_rRenderState, const struct ::cppcanvas::internal::OutDevState& rOutdevState, const CanvasSharedPtr& rCanvas, const ::basegfx::B2DPoint& rOffset, - const ::basegfx::B2DVector* pScaling ); + const ::basegfx::B2DVector* pScaling, + const double* pRotation ); /** This method modifies the clip, to cancel the given transformation. |