0 Replies Latest reply on Nov 19, 2009 2:38 PM by Evtim Georgiev (Adobe)

    [svn:fx-trunk] 12016: Fix MXMLC compilers don't honor bitmapfill x, y translation http://bugs.adobe.com/jira/browse/SDK-24272

    Evtim Georgiev (Adobe) Level 2

      Revision: 12016

      Revision: 12016

      Author:   egeorgie@adobe.com

      Date:     2009-11-19 14:37:57 -0800 (Thu, 19 Nov 2009)

      Log Message:

      ***********

      Fix MXMLC compilers don't honor bitmapfill x,y translation http://bugs.adobe.com/jira/browse/SDK-24272

       

      Problems fixed:

      1. BitmapFill - Explicit matrix was offset relative to the natural bounds top left, should ignore natural bounds.

      2. BitmapFill - Explicit x/y overrides were applied relative to the natural bounds top-left, should be applied relative to (0,0) - test case in this bug.

      3. BitmapFill - Explicit scaleX/scaleY were always combined with the default fill transform (problem for fillMode="scale").

      4. Path - Stroke bounds for path only were wrong - the fill bounds were used instead.

       

      QE notes: Add additional tests for problems described above.

      Doc notes: None

      Bugs: SDK-24272

      Reviewer: Jason

      Tests run: checkintests + mustella cyclone

      Is noteworthy for integration: No

       

      Ticket Links:

      ***********

          http://bugs.adobe.com/jira/browse/SDK-24272

          http://bugs.adobe.com/jira/browse/SDK-24272

       

      Modified Paths:

      **************

          flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradient.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradient.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Path.as