0 Replies Latest reply on May 21, 2009 10:51 AM by Jason Szeto

    [svn:fx-beta1] 7183: Fixed GraphicElement.getBitmapData bug

    Jason Szeto Level 3

      Revision: 7183

      Author:   jszeto@adobe.com

      Date:     2009-05-21 09:51:24 -0700 (Thu, 21 May 2009)

       

      Log Message:

      ***********

      Fixed GraphicElement.getBitmapData bug

       

      SDK-21171 getBitmapData is incorrect for rotated gradient paths

       

      Changed the implementation to use the layout bounds instead of the Player's getBounds. getBounds returns an "overeager" bounds for rotated content. Fixed the edge artifacts by rounding up the dimensions.

       

      QE Notes: None

      Doc Notes: None

      Bugs: SDK-21171

      Reviewer: Evtim

       

      Ticket Links:

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

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

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

       

      Modified Paths:

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

          flex/sdk/branches/beta1/frameworks/projects/flex4/src/spark/primitives/supportClasses/Gra phicElement.as