0 Replies Latest reply on Feb 2, 2009 11:20 AM by (Evtim_Georgiev)

    [svn] 4793: Fix bug SDK-17734 Path with width and height set different than path data has incorrect bounds

      Revision: 4793
      Author: egeorgie@adobe.com
      Date: 2009-02-02 11:20:06 -0800 (Mon, 02 Feb 2009)

      Log Message:
      -----------
      Fix bug SDK-17734 Path with width and height set different than path data has incorrect bounds

      Fix: When calculating the bounds position we should take into account the implicit scaling factor actualSize/naturalSize. Also did some refactoring, getting rid of the protected method calculateTopLeft.

      QE Notes: None
      Doc Notes: None
      Bugs: SDK-17734
      Reviewer: Ryan
      tests: mustella gumbo/layout/GraphicElement

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

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