0 Replies Latest reply on May 22, 2009 10:27 AM by deepa subramaniam (adobe)

    [svn:fx-trunk] 7221: -Use Drawing API-2 to render caps for every Line graphic element's strokes .

    deepa subramaniam (adobe) Level 2

      Revision: 7221

      Author:   dsubrama@adobe.com

      Date:     2009-05-22 09:27:26 -0700 (Fri, 22 May 2009)

       

      Log Message:

      ***********

      -Use Drawing API-2 to render caps for every Line graphic element's strokes. As part of this, GradientStroke now implements IStroke and IStroke has a new method, generateGraphicsStroke() which returns a GraphicsStroke object representing this stroke. More refactoring to share graphics stroke logic between LinearGradientStroke and RadialGradientStroke.

      -Removed some un-used imports.

      -Added some comments to ItemRenderer and had modified List to use static constants for event listeners.

       

      Fixes: SDK-17661, SDK-21353, SDK-21251

       

      Checkintests: Pass

      FXG Tests: Passed (cyclone ran by Joan)

      Doc: Added ASDoc for ItemRenderer and IStroke, a glance-over would be swell.

      Reviewer: Jason for SDK-17661 me for the others.

       

      Ticket Links:

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

          http://bugs.adobe.com/jira/browse/API-2

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

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

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

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

       

      Modified Paths:

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

          flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as

          flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as

          flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ItemRenderer .as

          flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Line.as

          flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/ErrorSkin.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/IStroke.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as