<?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>Mark Finkle's Weblog &#187; VML</title>
	<atom:link href="http://starkravingfinkle.org/blog/tags/vml/feed/" rel="self" type="application/rss+xml" />
	<link>http://starkravingfinkle.org/blog</link>
	<description></description>
	<lastBuildDate>Sun, 29 Apr 2012 04:37:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>RichDraw &#8211; SVG Whiteboard</title>
		<link>http://starkravingfinkle.org/blog/2007/02/richdraw-svg-whiteboard/</link>
		<comments>http://starkravingfinkle.org/blog/2007/02/richdraw-svg-whiteboard/#comments</comments>
		<pubDate>Tue, 27 Feb 2007 17:00:06 +0000</pubDate>
		<dc:creator>Mark Finkle</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[SVG]]></category>
		<category><![CDATA[VML]]></category>

		<guid isPermaLink="false">http://starkravingfinkle.org/blog/2007/02/richdraw-svg-whiteboard/</guid>
		<description><![CDATA[I am always interested to see other people use some of my code in a new way. Therefore, I was pretty happy to see a demo of my RichDraw VML/SVG editor hooked up to some really cool XMPP/Jabber collaboration code. Very nice.]]></description>
			<content:encoded><![CDATA[<p>I am always interested to see other people use some of my code in a new way. Therefore, I was pretty happy to see a demo of my <a href="http://starkravingfinkle.org/blog/2006/04/richdraw-simple-vmlsvg-editor/">RichDraw VML/SVG editor</a> hooked up to some really cool <a href="http://blog.hyperstruct.net/2007/2/24/xml-sync-islands-let-the-web-sharing-begin">XMPP/Jabber collaboration</a> code.</p>
<p>Very nice.</p>
]]></content:encoded>
			<wfw:commentRss>http://starkravingfinkle.org/blog/2007/02/richdraw-svg-whiteboard/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Canvas/SVG/VML Drawing Roundup</title>
		<link>http://starkravingfinkle.org/blog/2006/09/canvassvgvml-drawing-roundup/</link>
		<comments>http://starkravingfinkle.org/blog/2006/09/canvassvgvml-drawing-roundup/#comments</comments>
		<pubDate>Sun, 10 Sep 2006 04:34:37 +0000</pubDate>
		<dc:creator>Mark Finkle</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[SVG]]></category>
		<category><![CDATA[VML]]></category>

		<guid isPermaLink="false">http://starkravingfinkle.org/blog/2006/09/canvassvgvml-drawing-roundup/</guid>
		<description><![CDATA[Its been a couple months since I released RichDraw. At the time I was looking around at the state of browser-based drawing and diagraming tools. Most were Java or ActiveX based. Now, I am finding lots of pure Javascript API&#8217;s and tools. There also seems to be more of a push to create API&#8217;s, making [...]]]></description>
			<content:encoded><![CDATA[<p>Its been a couple months since I released <a href="http://starkravingfinkle.org/blog/2006/04/richdraw-simple-vmlsvg-editor/">RichDraw</a>. At the time I was looking around at the state of browser-based drawing and diagraming tools. Most were Java or ActiveX based. Now, I am finding lots of pure Javascript API&#8217;s and tools.</p>
<p>There also seems to be more of a push to create API&#8217;s, making it easier to create cross-browser applications. Each browser seems to support a slightly different technology. Even when they overlap, browser implementations are not always interoperable. Javascript wrappers are a big help.</p>
<p>Here are some Javascript libraries focused on cross-browser drawing:</p>
<ul>
<li><a href="http://blog.xdraw.org/articles/2006/08/14/dojo-gfx-hits-svn-head">Dojo.gfx</a></li>
<li><a href="http://excanvas.sourceforge.net/">ExplorerCanvas</a></li>
<li><a href="http://starkravingfinkle.org/blog/2006/04/richdraw-simple-vmlsvg-editor/">RichDraw</a></li>
<li><a href="http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm">jsVectorGraphics</a></li>
<li><a href="http://www.kevlindev.com/projects/jsdrawing/index.htm">jsDrawing</a></li>
</ul>
<p>Here are some neat browser-based drawing applications:</p>
<ul>
<li><a href="http://whiteboard.novelys.com/">Whiteboard</a> &#8211; A little colaborative whiteboard experiment. Uses the Dojo.gfx toolkit to do the rendering.</li>
<li><a href="http://annevankesteren.nl/2006/08/paintr21">Paintr</a> &#8211; A weekend project by <a href="http://annevankesteren.nl/">Anne van Kesteren</a>. Uses <code>&lt;canvas/&gt;</code> suppport to do the rendering.</li>
<li><a href="http://www.cumulatelabs.com/draw/">Draw</a> &#8211; Has the makings of a full-blown flowcharting tool. Many shape types and support for connectors. Currently IE only, but since it is built on RichDraw, Firefox and Opera could be supported as well.</li>
<li><a href="http://www.xdraw.org/xdhTest.html">XDraw</a> &#8211; <a href="http://blog.xdraw.org">Gavin Doughtie&#8217;s</a> early work that may have started the Dojo.gfx toolkit.</li>
</ul>
<p>Not an exhaustive list, but at least some evidence that drawing in a browser is getting serious.</p>
]]></content:encoded>
			<wfw:commentRss>http://starkravingfinkle.org/blog/2006/09/canvassvgvml-drawing-roundup/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>RichDraw &#8211; Simple VML/SVG Editor</title>
		<link>http://starkravingfinkle.org/blog/2006/04/richdraw-simple-vmlsvg-editor/</link>
		<comments>http://starkravingfinkle.org/blog/2006/04/richdraw-simple-vmlsvg-editor/#comments</comments>
		<pubDate>Sun, 09 Apr 2006 20:36:26 +0000</pubDate>
		<dc:creator>Mark Finkle</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[SVG]]></category>
		<category><![CDATA[VML]]></category>

		<guid isPermaLink="false">http://starkravingfinkle.org/blog/2006/04/richdraw-simple-vmlsvg-editor/</guid>
		<description><![CDATA[Rich text editing is a feature that is finding it&#8217;s way into many new web applications. It&#8217;s becoming a feature that users can&#8217;t live without. We are also starting to see some graphical editing applications. In an effort to satisfy a potential, future, demand to have graphical editing everywhere (it could happen), I created a [...]]]></description>
			<content:encoded><![CDATA[<p>Rich text editing is a feature that is finding it&#8217;s way into <a href="http://www.writely.com">many</a> <a href="http://www.writeboard.com/">new</a> <a href="http://www.tadalist.com">web</a> <a href="http://www.ajaxwrite.com/">applications</a>. It&#8217;s becoming a feature that users can&#8217;t live without. We are also starting to see some graphical editing <a href="http://www.ajaxsketch.com/">applications</a>. In an effort to satisfy a potential, future, demand to have graphical editing everywhere (it could happen), I created a Javascript component called RichDraw.</p>
<p>RichDraw works in IE 6+, Firefox 1.5+ and Opera 9, using VML or SVG as the underlying renderer. Opera 9 has a small issue with the way I adjust/offset the mouse coordinates, but I&#8217;ll look into that. Currently the component supports:</p>
<ul>
<li>Creating basic shapes (rectangle, rounded rectangle and ellipse) and lines.</li>
<li>Selecting shapes.</li>
<li>Deleting selected shapes.</li>
<li>Dragging shapes with mouse.</li>
<li>Setting fill color.</li>
<li>Setting line color and width.</li>
<li>Retrieving the markup.</li>
</ul>
<p>I don&#8217;t know if there are any real uses for RichDraw in it&#8217;s current state. There is a lot that could be done to enhance RichDraw and make it more usable. Probably the most important feature would be loading markup back into the editor. On the surface, that&#8217;s easy enough to add. However, there could be situations where the markup is saved from IE (VML) and loaded back into Firefox (SVG). This would not work. I am planning on converting the VML to SVG when retrieving and converting it back when loading. That way RichDraw always appears to be using SVG. I will build from my <a href="http://starkravingfinkle.org/blog/2006/03/svg-in-ie/">IESVG</a> code to handle the conversions.</p>
<p>Other enhancements include:</p>
<ul>
<li>Resizing selected shapes.</li>
<li>Ordering (Bring to Front, Send to Back).</li>
<li>Scrollable workarea.</li>
<li>Inserting text.</li>
<li>Inserting images.</li>
</ul>
<p>Required files: <a href="http://starkravingfinkle.org/projects/richdraw/richdraw.js">richdraw.js</a>, <a href="http://starkravingfinkle.org/projects/richdraw/svgrenderer.js">svgrenderer.js</a>, <a href="http://starkravingfinkle.org/projects/richdraw/vmlrenderer.js">vmlrenderer.js</a></p>
<p>Demo file: <a href="http://starkravingfinkle.org/projects/richdraw/richdraw_demo.htm">richdraw_demo.htm </a></p>
]]></content:encoded>
			<wfw:commentRss>http://starkravingfinkle.org/blog/2006/04/richdraw-simple-vmlsvg-editor/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>SVG in IE (Update)</title>
		<link>http://starkravingfinkle.org/blog/2006/03/svg-in-ie-update/</link>
		<comments>http://starkravingfinkle.org/blog/2006/03/svg-in-ie-update/#comments</comments>
		<pubDate>Mon, 20 Mar 2006 08:20:31 +0000</pubDate>
		<dc:creator>Mark Finkle</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[SVG]]></category>
		<category><![CDATA[VML]]></category>

		<guid isPermaLink="false">http://starkravingfinkle.org/blog/2006/03/svg-in-ie-update/</guid>
		<description><![CDATA[I made some changes to the IESVG behavior. I am trying to get better feature coverage without making the rendering too slow. I have been testing the code using some SVG images from different places, trying to figure out what parts of SVG seem to be more important than others. Recents chanegs include: Basic support [...]]]></description>
			<content:encoded><![CDATA[<p>I made some changes to the IESVG behavior. I am trying to get better feature coverage without making the rendering too slow. I have been testing the code using some SVG images from different places, trying to figure out what parts of SVG seem to be more important than others. Recents chanegs include:</p>
<ul>
<li>Basic support for gradient fills. It&#8217;s pretty weak and may have not SVG-correct.</li>
<li>Basic support for <code>svg:g</code> elements.</li>
<li>Switched code to use DOM methods (appendChild and replaceChild) instead of slower, string-based methods.</li>
</ul>
<p>I plan to add more  support for gradients. I also plan to add some scripting support. You can do scripting now, but you need to treat the elements as VML, not SVG. I plan to add some methods to the VML elements to make them appear more SVG-like when scripting.</p>
<p>Files can be downloaded from <a href="http://starkravingfinkle.org/blog/2006/03/svg-in-ie/">here</a>. I added the SVG lion to the samples:</p>
<p>Sample files: <a href="http://starkravingfinkle.org/projects/iesvg/lion.htm">lion.htm (IE)</a>, <a href="http://starkravingfinkle.org/projects/iesvg/lion.xhtml">lion.xhtml (Firefox)</a></p>
<p><strong>Update:</strong> Fixed 404 on link above.</p>
]]></content:encoded>
			<wfw:commentRss>http://starkravingfinkle.org/blog/2006/03/svg-in-ie-update/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>SVG in IE</title>
		<link>http://starkravingfinkle.org/blog/2006/03/svg-in-ie/</link>
		<comments>http://starkravingfinkle.org/blog/2006/03/svg-in-ie/#comments</comments>
		<pubDate>Tue, 14 Mar 2006 06:35:19 +0000</pubDate>
		<dc:creator>Mark Finkle</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[SVG]]></category>
		<category><![CDATA[VML]]></category>

		<guid isPermaLink="false">http://starkravingfinkle.org/blog/2006/03/svg-in-ie/</guid>
		<description><![CDATA[Inspired by Emil&#8217;s emulation of the canvas tag in IE, I put together a simple SVG emulation behavior for IE. As with Emil&#8217;s code, I am making use of Internet Explorer&#8217;s VML support. The behavior will walk the SVG element structure and attempt to convert to appropriate VML elements. It&#8217;s far from complete, but it [...]]]></description>
			<content:encoded><![CDATA[<p>Inspired by <a href="http://me.eae.net/archive/2005/12/29/canvas-in-ie/">Emil&#8217;s emulation</a> of the <code>canvas</code> tag in IE, I put together a simple SVG emulation behavior for IE. As with Emil&#8217;s code, I am making use of Internet Explorer&#8217;s VML support. The behavior will walk the SVG element structure and attempt to convert to appropriate VML elements. It&#8217;s far from complete, but it does a decent job. Supported features include:</p>
<ul>
<li>Basic shapes: rect, ellipse, circle, polyline, polygon and path.</li>
<li>Simple fills commands (in attributes and CSS): fill and fill-opacity.</li>
<li>Simple stroke commands (in attributes and CSS): stroke, stroke-width, stroke-opacity and stroke-linejoin.</li>
</ul>
<p>The behavior works on Inline-SVG, not standalone SVG files. Currently, the behavior only works on static SVG. You can&#8217;t use Javascript to interact with the SVG. Javascript can only access the VML elements. I plan to add support for  and gradients (although this could be hard). I also want to eventually add support for scripting by adding SVG-like methods to the VML elements. You&#8217;ll notice that the SVG elements are in an explicit <code>svg</code> namespace. This seems to be a requirement for the behavior to work, but I am trying to remove the need.</p>
<p>Required files: <a href="http://starkravingfinkle.org/projects/iesvg/iesvg.htc">iesvg.htc</a>, <a href="http://starkravingfinkle.org/projects/iesvg/iesvg.js">iesvg.js</a></p>
<p>Sample files: <a href="http://starkravingfinkle.org/projects/iesvg/iesvg_test.htm">iesvg_test.htm (IE)</a>, <a href="http://starkravingfinkle.org/projects/iesvg/iesvg_test.xhtml">iesvg_test.xhtml (Firefox)</a></p>
<p>The sample files are exactly the same, only the extensions are different. Firefox must have Inline-SVG in an XHTML file. There is probably a way I can get Apache to trick Firefox into thinking the HTML file is an XHTML file (or get IE to think the XHTML file is an HTML file), but I haven&#8217;t got it working yet.</p>
<p><strong>Update:</strong> Core files have been updated. Test files have gradient examples.</p>
]]></content:encoded>
			<wfw:commentRss>http://starkravingfinkle.org/blog/2006/03/svg-in-ie/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

