<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Random Fractals&#187; Degrafa SVG Painter</title>
	<atom:link href="http://randomfractals.com/blog/flex/degrafa-svg-painter/feed/" rel="self" type="application/rss+xml" />
	<link>http://randomfractals.com/blog</link>
	<description></description>
	<lastBuildDate>Sat, 27 Mar 2010 13:57:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Closing the Flex SVG Loop</title>
		<link>http://randomfractals.com/blog/2009/02/10/closing-the-flex-svg-loop/</link>
		<comments>http://randomfractals.com/blog/2009/02/10/closing-the-flex-svg-loop/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 06:14:29 +0000</pubDate>
		<dc:creator>Taras</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[SVG]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[Degrafa SVG Painter]]></category>
		<category><![CDATA[Flex SVG Explorer]]></category>
		<category><![CDATA[Shapes and Strokes]]></category>

		<guid isPermaLink="false">http://tarasnovak.com/blog/?p=750</guid>
		<description><![CDATA[Here is how my &#8220;Shapes and Strokes&#8220; creation looks like in Flex SVG Explorer (second sample in the Load SVG File dropdown):

Obviously some strokes got lost in translation there, but I am still very happy with the outcome considering my initial goals for the two prototypes.
What does it all mean?
Basically, it means that by using [...]]]></description>
			<content:encoded><![CDATA[<p>Here is how my <a href="http://tarasnovak.com/blog/2009/02/08/degrafa-svg-painter-app/" target="_blank">&#8220;<em>Shapes and Strokes</em>&#8220;</a> creation looks like in <a href="http://www.randomfractals.com/lab/FlexSVGExplorer/01/FlexSVGExplorer.html" target="_blank">Flex SVG Explorer</a> (second sample in the Load SVG File dropdown):</p>
<p style="text-align: center;"><a href="http://www.randomfractals.com/lab/FlexSVGExplorer/01/FlexSVGExplorer.html" target="_blank"><img class="aligncenter size-full wp-image-752" title="Shapes and Strokes in Flex SVG Explorer" src="http://tarasnovak.com/blog/wp-content/uploads/2009/02/shapesandstrokessmall.jpg" alt="shapesandstrokessmall" width="480" height="352" /></a></p>
<p>Obviously some strokes got lost in translation there, but I am still very happy with the outcome considering my initial goals for the two prototypes.</p>
<p><strong>What does it all mean?</strong></p>
<p>Basically, it means that by using two different Flex SVG libraries (<a href="http://code.google.com/p/svg-viewer/" target="_blank">SVG Viewer API</a> and <a href="http://www.degrafa.org/index.html" target="_blank">Degrafa</a>) I&#8217;ve closed the full cycle SVG manipulation loop in Flex:</p>
<p>1) Create new SVG-based graphic with <a href="http://tarasnovak.com/blog/2009/02/08/degrafa-svg-painter-app/" target="_blank">Degrafa SVG Painter</a> and export it to SVG markup;</p>
<p>2) Load the created SVG document in <a href="http://tarasnovak.com/blog/2009/02/06/from-day-1-of-flex-svg-explorer-dev-and-research/" target="_blank">Flex SVG Explorer</a> using SVG Viewer API for further inspection and manipulation.</p>
<p>Now I can take a little breather, wait for the two libraries to improve, and slowly work on adding shape templates, object handles and other tools for creating and editing of SVG graphics in Flex.</p>
<p>Perhaps I should combine the two tools into one, or just wait till SVG to Degrafa converter and API comes out. Then I could just stick with Degrafa for loading and manipulating SVG. Some utility classes or toString methods to get SVG element markup of Degrafa objects would be nice too . Maybe I&#8217;ve missed it in the current codebase.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://randomfractals.com/blog/2009/02/08/degrafa-svg-painter-app/" title="Degrafa SVG Painter">Degrafa SVG Painter</a></li><li><a href="http://randomfractals.com/blog/2009/02/06/from-day-1-of-flex-svg-explorer-dev-and-research/" title="From Day 1 of Flex SVG Explorer Dev and Research">From Day 1 of Flex SVG Explorer Dev and Research</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://randomfractals.com/blog/2009/02/10/closing-the-flex-svg-loop/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Degrafa SVG Painter</title>
		<link>http://randomfractals.com/blog/2009/02/08/degrafa-svg-painter-app/</link>
		<comments>http://randomfractals.com/blog/2009/02/08/degrafa-svg-painter-app/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 05:46:31 +0000</pubDate>
		<dc:creator>Taras</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[SVG]]></category>
		<category><![CDATA[Degrafa SVG Painter]]></category>
		<category><![CDATA[Flex SVG]]></category>
		<category><![CDATA[SVG Painter]]></category>

		<guid isPermaLink="false">http://tarasnovak.com/blog/?p=730</guid>
		<description><![CDATA[I&#8217;ve encountered a temporary roadblock in wiring up Object Handles with SVG Viewer API in Flex SVG Explorer to enable shape selections. Will work on it next week.
Degrafa SVG Painter (v. 0.1)
Here is another Flex SVG application I started this week: Degrafa SVG Painter.

It&#8217;s very basic and a little slow for creating sophisticated drawings, but [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve encountered a temporary roadblock in wiring up <a href="http://www.rogue-development.com/objectHandles.html" target="_blank">Object Handles</a> with <a href="http://code.google.com/p/svg-viewer/" target="_blank">SVG Viewer API</a> in <a href="http://www.randomfractals.com/lab/FlexSVGExplorer/01/FlexSVGExplorer.html" target="_blank">Flex SVG Explorer</a> to enable shape selections. Will work on it next week.</p>
<p><strong>Degrafa SVG Painter</strong> (v. 0.1)</p>
<p>Here is another Flex SVG application I started this week: <a href="http://www.randomfractals.com/lab/DegrafaSVGPainter/02/DegrafaSVGPainter.html" target="_blank">Degrafa SVG Painter</a>.</p>
<p><a href="http://www.randomfractals.com/lab/DegrafaSVGPainter/02/DegrafaSVGPainter.html" target="_blank"><img class="aligncenter size-full wp-image-732" title="Degrafa SVG Painter 01" src="http://tarasnovak.com/blog/wp-content/uploads/2009/02/degrafasvgpainter01small.jpg" alt="Degrafa SVG Painter 01" width="480" height="360" /></a></p>
<p>It&#8217;s very basic and a little slow for creating sophisticated drawings, but I was able to create the painting above.</p>
<p>I call this one &#8220;<em>Shapes and Strokes</em>&#8221; :)</p>
<p><strong>SVG Code View</strong></p>
<p>Besides the main Paint Canvas, there is also an SVG code view in Degrafa Painter that displays the resulting SVG drawing code you can save for later use in other SVG tools:</p>
<p><a href="http://www.randomfractals.com/lab/DegrafaSVGPainter/02/DegrafaSVGPainter.html" target="_blank"><img class="aligncenter size-full wp-image-734" title="Degrafa SVG Painter: SVG Code View" src="http://tarasnovak.com/blog/wp-content/uploads/2009/02/degrafasvgpainter01codesmall.jpg" alt="Degrafa SVG Painter: SVG Code View" width="480" height="359" /></a></p>
<p>Click on the screenshots above to see the first rev. of <a href="http://www.randomfractals.com/lab/DegrafaSVGPainter/02/DegrafaSVGPainter.html" target="_blank">Degrafa SVG Painter</a>.</p>
<p><strong>Source Code Details</strong></p>
<p>This one is obviously done with Degrafa, demoing its dynamic drawing features.</p>
<p>The main Canvas uses the Surface UI component, but the Stroke Preview, Line Cap and Line Join buttons in the stroke control bar are done with the lightweight GeometryComposition object.</p>
<p>That gorgeous Photoshop Express-like UI theme is called <a href="http://www.scalenine.com/themes/kingnare/Kingnare.html" target="_blank">Kingnare</a>, created by <a href="http://www.kingnare.com/auzn/" target="_blank">Jin Xin</a>.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://randomfractals.com/blog/2009/02/10/closing-the-flex-svg-loop/" title="Closing the Flex SVG Loop">Closing the Flex SVG Loop</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://randomfractals.com/blog/2009/02/08/degrafa-svg-painter-app/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
