0 Replies Latest reply on Jan 22, 2009 1:15 PM by Jason Szeto

    [svn] 4624: Flex SDK Bug Fix - Add snapshot support for 3D transformed GraphicElements

    Jason Szeto Level 3
      Revision: 4624
      Author: jszeto@adobe.com
      Date: 2009-01-22 13:15:17 -0800 (Thu, 22 Jan 2009)

      Log Message:
      -----------
      Flex SDK Bug Fix - Add snapshot support for 3D transformed GraphicElements

      SDK-17362 - GraphicElement.getBitmapData doesn't handle 3D transforms

      Added in support to take a bitmap snapshot of a 3D transformed GraphicElement.

      Added a flag to getBitmapData to return a bitmap of the target either in the local or global coordinate space.

      Also, fixed a bug in the bitmap snapshot logic for a 2D GraphicElement that was sharing its displayObject.

      Note that the 3D snapshot isn't accurate if you have set maintainProjectionCenter on an ancestor. There are also limitations when rotation is applied. In addition, getting a local 3D snapshot isn't too accurate once you start scaling ancestors.

      QE Notes: Add mustella tests for getBitmapData
      Doc Notes: Document that getBitmapData now supports 3D transforms
      Bugs: SDK-17362
      Reviewer: Evtim

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/SDK-17362
      http://bugs.adobe.com/jira/browse/SDK-17362

      Modified Paths:
      --------------
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.a s