0 Replies Latest reply on Oct 14, 2008 2:33 PM by deepa subramaniam (adobe)

    [svn] 3637: First of 2-parts to make Flex Graphics be Flash Player 10 DrawingAPI-2 compliant .

    deepa subramaniam (adobe) Level 2
      Revision: 3637
      Author: dsubrama@adobe.com
      Date: 2008-10-14 15:33:48 -0700 (Tue, 14 Oct 2008)

      Log Message:
      -----------
      First of 2-parts to make Flex Graphics be Flash Player 10 DrawingAPI-2 compliant.

      This checkin builds upon the code shared between the Degrafa team and the Flex team, where a graphicsPath object is used to generate a Path's shape data. Paths delegate to their individual segment classes to generate shape data, this data is coalesced in a new graphicsPath object and then rendered.

      Part 2 will come shortly. This will include support for generating DAPI-2 commands for fills, strokes and all graphic elements.

      With this check-in Paths now support the winding property, new in DAPI-2.

      Much thanks to the Degrafa team for their initial coding contributions!

      Reviewer: Glenn
      Checkintests: Pass (additional tests include FXG and Layout mustella tests)
      Fixes: MXMLG-179

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/DrawingAPI-2
      http://bugs.adobe.com/jira/browse/DAPI-2
      http://bugs.adobe.com/jira/browse/DAPI-2
      http://bugs.adobe.com/jira/browse/MXMLG-179

      Modified Paths:
      --------------
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/CloseSegment.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/CubicBezierSegment.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/LineSegment.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/MoveSegment.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Path.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/PathSegment.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/QuadraticBezierSegment.as
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxSpinnerDecrButtonSkin.mxml
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxSpinnerIncrButtonSkin.mxml