diff options
author | Oliver Bolte <obo@openoffice.org> | 2007-01-22 10:50:34 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2007-01-22 10:50:34 +0000 |
commit | 99c2c550f98cde022e61f99646b86c0a65443b28 (patch) | |
tree | 80f04f673804557504d053a05dee61f9a36e4c38 /cppcanvas/source | |
parent | 11077ad85bdafadbcbcb6fe8921136998aa7b687 (diff) |
INTEGRATION: CWS thbpp6 (1.7.40); FILE MERGED
2006/12/21 17:20:53 thb 1.7.40.1: #121806# Now keeping full precision of the mtf logic coordinates across mtf->XCanvas conversion
Diffstat (limited to 'cppcanvas/source')
-rw-r--r-- | cppcanvas/source/mtfrenderer/mtftools.hxx | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/cppcanvas/source/mtfrenderer/mtftools.hxx b/cppcanvas/source/mtfrenderer/mtftools.hxx index d16b6897c7b1..6755789382a8 100644 --- a/cppcanvas/source/mtfrenderer/mtftools.hxx +++ b/cppcanvas/source/mtfrenderer/mtftools.hxx @@ -4,9 +4,9 @@ * * $RCSfile: mtftools.hxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: kz $ $Date: 2005-11-02 13:41:15 $ + * last change: $Author: obo $ $Date: 2007-01-22 11:50:34 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -107,6 +107,21 @@ namespace cppcanvas ::basegfx::B2DHomMatrix& calcLogic2PixelLinearTransform( ::basegfx::B2DHomMatrix& o_rMatrix, const VirtualDevice& rVDev ); + /** Construct a matrix that converts from logical to pixel + coordinate system. + + This method calculates a matrix that approximates the + VirtualDevice's LogicToPixel conversion. + + @param o_rMatrix + This matrix will receive the calculated transform, and is + also returned from this method. + + @return the calculated transformation matrix. + */ + ::basegfx::B2DHomMatrix& calcLogic2PixelAffineTransform( ::basegfx::B2DHomMatrix& o_rMatrix, + const VirtualDevice& rVDev ); + /** This method modifies the clip, to cancel the given transformation. |