0 Replies Latest reply on Jun 2, 2009 5:34 PM by Jason Szeto

    [svn:fx-trunk] 7502: Fixed RadialGradientStroke rotation bug

    Jason Szeto Level 3

      Revision: 7502

      Author:   jszeto@adobe.com

      Date:     2009-06-02 17:34:08 -0700 (Tue, 02 Jun 2009)

       

      Log Message:

      ***********

      Fixed RadialGradientStroke rotation bug

       

      http://bugs.adobe.com/jira/browse/SDK-18372 -  RadialGradientStroke transform does not rotate

       

      Copied the logic from RadialGradient to RadialGradientStroke. The createGradientBox function doesn?\226?\128?\153t do what we want because it rotates first and then scales. We want to scale first and then rotate.

       

       

      Added constant for the width and height of the untransformed gradient to all of the gradient classes.

       

      QE Notes: Test RadialGradientStroke rotation

      Doc Notes: None

      Bugs: SDK-18372

      Reviewer: Glenn

       

      Ticket Links:

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

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

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

       

      Modified Paths:

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

          flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientBase.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