diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-04-09 13:45:35 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-04-09 13:45:35 +0200 |
commit | 161fb1781bec7e587743b7589d00c9eb7fa00ac7 (patch) | |
tree | 2b97a1c25e7d780d3f60f9089b1318ba03ac0ec3 /canvas/inc | |
parent | 26398f9dbf7134f79993f2f8258613124ac2483b (diff) |
Remove canvas::tools::calcRectToRectTransform
Diffstat (limited to 'canvas/inc')
-rw-r--r-- | canvas/inc/canvas/canvastools.hxx | 45 |
1 files changed, 1 insertions, 44 deletions
diff --git a/canvas/inc/canvas/canvastools.hxx b/canvas/inc/canvas/canvastools.hxx index a1bee2dc5bb9..1605b6628d68 100644 --- a/canvas/inc/canvas/canvastools.hxx +++ b/canvas/inc/canvas/canvastools.hxx @@ -225,60 +225,17 @@ namespace canvas @param i_Transformation Transformation to apply to the input rectangle - @see calcRectToRectTransform() - @return a reference to the resulting rectangle */ CANVASTOOLS_DLLPUBLIC ::basegfx::B2DRange& calcTransformedRectBounds( ::basegfx::B2DRange& o_Rect, const ::basegfx::B2DRange& i_Rect, const ::basegfx::B2DHomMatrix& i_Transformation ); - /** Calc a transform that maps one rectangle on top of - another. - - The method is a kissing cousin to - calcTransformedRectBounds(). It can be used to modify the - given transformation matrix, such that it transforms the - given input rectangle to the given output rectangle, - changing only translation and scale (if necessary). Thus, - if you've calculated an output rectangle via - calcTransformedRectBounds(), you can move and scale that - rectangle as you like, and have this method calculate the - required total transformation for it. - - @param o_transform - Output parameter, to receive the resulting transformation - matrix. - - @param i_destRect - Input parameter, specifies the requested destination - rectangle. The resulting transformation will exactly map - the source rectangle to the destination rectangle. - - @param i_srcRect - Input parameter, specifies the original source - rectangle. The resulting transformation will exactly map - the source rectangle to the destination rectangle. - - @param i_transformation - The original transformation matrix. This is changed with - translations and scalings (if necessary), to exactly map - the source rectangle to the destination rectangle. - - @return a reference to the resulting transformation matrix - - @see calcTransformedRectBounds() - */ - CANVASTOOLS_DLLPUBLIC ::basegfx::B2DHomMatrix& calcRectToRectTransform( ::basegfx::B2DHomMatrix& o_transform, - const ::basegfx::B2DRange& i_destRect, - const ::basegfx::B2DRange& i_srcRect, - const ::basegfx::B2DHomMatrix& i_transformation ); - /** Calc a transform that maps the upper, left corner of a rectangle to the origin. The method is a specialized version of - calcRectToRectTransform(), mapping the input rectangle's + calcRectToRectTransform() (Removed now), mapping the input rectangle's the upper, left corner to the origin, and leaving the size untouched. |