diff -uNr old/cppcanvas/source/mtfrenderer/implrenderer.cxx new/cppcanvas/source/mtfrenderer/implrenderer.cxx --- old/cppcanvas/source/mtfrenderer/implrenderer.cxx 2007-11-16 13:40:38.793018900 +0800 +++ new/cppcanvas/source/mtfrenderer/implrenderer.cxx 2007-11-16 13:41:49.339893900 +0800 @@ -786,10 +786,10 @@ } // enlarge gradient to match bound rect diagonal - aTextureTransformation.translate( -0.5, -0.5 ); - const double nScale( hypot(aBounds.getWidth(), aBounds.getHeight()) / nScaleX ); - aTextureTransformation.scale( nScale, nScale ); - aTextureTransformation.translate( 0.5, 0.5 ); + //aTextureTransformation.translate( -0.5, -0.5 ); + //const double nScale( hypot(aBounds.getWidth(), aBounds.getHeight()) / nScaleX ); + //aTextureTransformation.scale( nScale, nScale ); + //aTextureTransformation.translate( 0.5, 0.5 ); aTexture.Gradient = xFactory->createEllipticalGradient( aEndColor, aStartColor,