diff options
author | Armin Le Grand <Armin.Le.Grand@Sun.COM> | 2009-09-22 18:14:05 +0200 |
---|---|---|
committer | Armin Le Grand <Armin.Le.Grand@Sun.COM> | 2009-09-22 18:14:05 +0200 |
commit | 7857f07d09265f58b2c17c4f619f4aad81b1c43d (patch) | |
tree | a88bc2ea43db41f9cb3a715651cfe77b477643f6 /vcl/os2 | |
parent | 1f0839c836781bc41f8c301b6262eabc978c90f8 (diff) |
#i97509# continued matrix tooling and adapting the usages now to all the ooo code
Diffstat (limited to 'vcl/os2')
-rw-r--r-- | vcl/os2/source/gdi/salgdi3.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/vcl/os2/source/gdi/salgdi3.cxx b/vcl/os2/source/gdi/salgdi3.cxx index 573fa7336fb0..b25feee266e4 100644 --- a/vcl/os2/source/gdi/salgdi3.cxx +++ b/vcl/os2/source/gdi/salgdi3.cxx @@ -1361,10 +1361,8 @@ BOOL Os2SalGraphics::GetGlyphOutline( long nIndex, ::basegfx::B2DPolyPolygon& rB // rescaling needed for the PolyPolygon conversion if( rB2DPolyPoly.count() ) { - ::basegfx::B2DHomMatrix aMatrix; - aMatrix.scale( 1.0/256, 1.0/256 ); - aMatrix.scale( mfFontScale, mfFontScale ); - rB2DPolyPoly.transform( aMatrix ); + const double fFactor((1.0/256) * mfFontScale); + rB2DPolyPoly.transform(basegfx::tools::createScaleB2DHomMatrix(fFactor, fFactor)); } return bRet; |