diff options
author | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-10-22 15:00:38 +0200 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-10-22 15:00:38 +0200 |
commit | f6cea1f12d94d30ad2506d91a9667a53861442cb (patch) | |
tree | 22cb96cf53bbcc8f59bfc025acd8e4da1ad20e89 /canvas | |
parent | 2931bffaaa36d22b6651136828879eb22990a3e4 (diff) |
undoapi: allow compiling with VERBOSE being set
Diffstat (limited to 'canvas')
-rwxr-xr-x | canvas/source/directx/dx_canvashelper_texturefill.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/directx/dx_canvashelper_texturefill.cxx b/canvas/source/directx/dx_canvashelper_texturefill.cxx index 60d62dad338a..672bd8b9a16c 100755 --- a/canvas/source/directx/dx_canvashelper_texturefill.cxx +++ b/canvas/source/directx/dx_canvashelper_texturefill.cxx @@ -227,6 +227,7 @@ namespace dxcanvas Gdiplus::SolidBrush aBackgroundBrush( rColors[0] ); rGraphics->FillPath( &aBackgroundBrush, pFillPath.get() ); + Gdiplus::Matrix aMatrix; // scale focus according to aspect ratio: for wider-than-tall // bounds (nAspectRatio > 1.0), the focus must have non-zero // width. Specifically, a bound rect twice as wide as tall has @@ -383,7 +384,6 @@ namespace dxcanvas // one sets both, only the translational components of the // texture is respected. - Gdiplus::Matrix aMatrix; tools::gdiPlusMatrixFromAffineMatrix2D( aMatrix, texture.AffineTransform ); GraphicsPathSharedPtr pGradientPath( |