From 99c2c550f98cde022e61f99646b86c0a65443b28 Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Mon, 22 Jan 2007 10:50:34 +0000 Subject: [PATCH] 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 --- cppcanvas/source/mtfrenderer/mtftools.hxx | 19 +++++++++++++++++-- 1 file 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.