Here are the slides and the code from Austin Flex User’s Group Degrafa Presentation on January 22nd, 2009. It is a little rough since I put it together in about a day so please forgive any mistakes or typos. Also, the code samples are VERY basic; they are designed to show straight-forward drawing capabilities using Degrafa and why it is so important to Flex developers.
Download the source code here.
Source Code Posting:
Example_01_BasicDrawing.mxml – Shows how we had to draw before Degrafa came along.
Example_02_DrawingApp.mxml – A demo draw application; again show how to draw before the advent of Degrafa.
Example_03_DegrafaBasicDrawing.mxml – Simple Drawing with Degrafa.
Example_04_DegrafaComplexDrawing.mxml – Drawing more complex shapes with Degrafa.
Example_05_DegrafaCustomShapes.mxml – Shows how to take SVG path data from Illustrator and use it in Degrafa.
The next two samples show how skinning can be done without Degrafa (in an attempt to show why Degrafa makes skinning easier)
Example_06_SimpleGraphicalSkin.mxml – Graphical skinning.
Example_07_SimpleProgrammaticSkin.mxml – Programmatic skinning.
Example_08_SimpleDegrafaSkin.mxml – A basic skin created with Degrafa.
Example_09_StatefulDegrafaSkin.mxml – A skin created with Degrafa that reacts to states.
Example_10_CustomDegrafaSkin.mxml – A skin created with Illustrator path data and Degrafa.
Example_11_CSSDegrafaSkin.mxml – A skin created with the Degrafa CSSSkin class,