0 Replies Latest reply on Sep 3, 2009 1:17 PM by Jason Szeto

    [svn:fx-trunk] 10002: Gradient matrix transform fix

    Jason Szeto Level 3

      Revision: 10002

      Author:   jszeto@adobe.com

      Date:     2009-09-03 13:17:09 -0700 (Thu, 03 Sep 2009)

       

      Log Message:

      ***********

      Gradient matrix transform fix

       

      http://bugs.adobe.com/jira/browse/SDK-22928 - Gradient matrix transform applying incorrect transforms

       

      Previously, the logic transformed the gradient to fill the shape bounds and then combined the matrix transform. Now using the same values for the discreet transform properties versus the matrix properties should result in the same appearance.

       

      These changes are applied to LinearGradient, RadialGradient, LinearGradientStroke and RadialGradientStroke.

       

      QE notes: Matrix transform behavior has changed

      Doc notes: Need info on matrix behavior

      Bugs: SDK-22928

      Reviewer: Glenn

      Tests run: spark/primitives

      Is noteworthy for integration: Yes

       

      Ticket Links:

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

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

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

       

      Modified Paths:

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

          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