summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-11-03 15:34:10 +0000
committerKurt Zenker <kz@openoffice.org>2005-11-03 15:34:10 +0000
commita27bcbba7c404375ba8946ef0aa036c5aa168088 (patch)
treeff6e990cf9c4fee3db2655665e2ab1f1de5154b7 /vcl
parent8fd8e9ade1a93f20a46b23b23b74f2a7f6598690 (diff)
#i10000# fixed undefined rPolyPoly
Diffstat (limited to 'vcl')
-rw-r--r--vcl/win/source/gdi/salgdi3.cxx15
1 files changed, 7 insertions, 8 deletions
diff --git a/vcl/win/source/gdi/salgdi3.cxx b/vcl/win/source/gdi/salgdi3.cxx
index 3d1cf02027d0..f4f435fba3ab 100644
--- a/vcl/win/source/gdi/salgdi3.cxx
+++ b/vcl/win/source/gdi/salgdi3.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: salgdi3.cxx,v $
*
- * $Revision: 1.73 $
+ * $Revision: 1.74 $
*
- * last change: $Author: kz $ $Date: 2005-11-02 13:36:12 $
+ * last change: $Author: kz $ $Date: 2005-11-03 16:34:10 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -2190,8 +2190,8 @@ BOOL WinSalGraphics::GetGlyphOutline( long nIndex,
// insert into polypolygon
Polygon aPoly( nPnt, pPoints, (bHasOfflinePoints ? pFlags : NULL) );
// convert to B2DPolyPolygon
- // TODO: get rid of the intermediate PolyPolygon
- rB2DPolyPoly.append( aPoly.getB2DPolygon() );
+ // TODO: get rid of the intermediate PolyPolygon
+ rB2DPolyPoly.append( aPoly.getB2DPolygon() );
}
delete[] pPoints;
@@ -2199,16 +2199,15 @@ BOOL WinSalGraphics::GetGlyphOutline( long nIndex,
}
delete[] pData;
-
- rPolyPoly.Scale( mfFontScale, mfFontScale );
}
// rescaling needed for the PolyPolygon conversion
if( rB2DPolyPoly.count() )
{
::basegfx::B2DHomMatrix aMatrix;
- aMatrix.scale( 1.0/256, 1.0/256 );
- rB2DPolyPoly.transform( aMatrix );
+ aMatrix.scale( 1.0/256, 1.0/256 );
+ aMatrix.scale( mfFontScale, mfFontScale );
+ rB2DPolyPoly.transform( aMatrix );
}
return bRet;