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.
This commit is contained in:
@@ -4,9 +4,9 @@
|
|||||||
*
|
*
|
||||||
* $RCSfile: mtftools.hxx,v $
|
* $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 Contents of this file are made available subject to
|
||||||
* the terms of GNU Lesser General Public License Version 2.1.
|
* the terms of GNU Lesser General Public License Version 2.1.
|
||||||
@@ -127,13 +127,17 @@ namespace cppcanvas
|
|||||||
@param pScaling
|
@param pScaling
|
||||||
The clip is inversely scaled by this value (if given)
|
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
|
@return true, if the clip has changed, false if not
|
||||||
*/
|
*/
|
||||||
bool modifyClip( ::com::sun::star::rendering::RenderState& o_rRenderState,
|
bool modifyClip( ::com::sun::star::rendering::RenderState& o_rRenderState,
|
||||||
const struct ::cppcanvas::internal::OutDevState& rOutdevState,
|
const struct ::cppcanvas::internal::OutDevState& rOutdevState,
|
||||||
const CanvasSharedPtr& rCanvas,
|
const CanvasSharedPtr& rCanvas,
|
||||||
const ::Point& rOffset,
|
const ::Point& rOffset,
|
||||||
const ::basegfx::B2DVector* pScaling );
|
const ::basegfx::B2DVector* pScaling,
|
||||||
|
const double* pRotation );
|
||||||
|
|
||||||
/** This method modifies the clip, to cancel the given
|
/** This method modifies the clip, to cancel the given
|
||||||
transformation.
|
transformation.
|
||||||
@@ -155,13 +159,17 @@ namespace cppcanvas
|
|||||||
@param pScaling
|
@param pScaling
|
||||||
The clip is inversely scaled by this value (if given)
|
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
|
@return true, if the clip has changed, false if not
|
||||||
*/
|
*/
|
||||||
bool modifyClip( ::com::sun::star::rendering::RenderState& o_rRenderState,
|
bool modifyClip( ::com::sun::star::rendering::RenderState& o_rRenderState,
|
||||||
const struct ::cppcanvas::internal::OutDevState& rOutdevState,
|
const struct ::cppcanvas::internal::OutDevState& rOutdevState,
|
||||||
const CanvasSharedPtr& rCanvas,
|
const CanvasSharedPtr& rCanvas,
|
||||||
const ::basegfx::B2DPoint& rOffset,
|
const ::basegfx::B2DPoint& rOffset,
|
||||||
const ::basegfx::B2DVector* pScaling );
|
const ::basegfx::B2DVector* pScaling,
|
||||||
|
const double* pRotation );
|
||||||
|
|
||||||
/** This method modifies the clip, to cancel the given
|
/** This method modifies the clip, to cancel the given
|
||||||
transformation.
|
transformation.
|
||||||
|
Reference in New Issue
Block a user