<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: implementing an SVG viewer in JavaScript</title>
	<atom:link href="http://verens.com/2006/02/05/implementing-an-svg-viewer-in-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://verens.com/2006/02/05/implementing-an-svg-viewer-in-javascript/</link>
	<description>klog - Kae&#039;s Log</description>
	<lastBuildDate>Mon, 21 May 2012 21:11:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Kae Verens</title>
		<link>http://verens.com/2006/02/05/implementing-an-svg-viewer-in-javascript/#comment-626</link>
		<dc:creator>Kae Verens</dc:creator>
		<pubDate>Mon, 19 Jun 2006 05:25:44 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2006/02/05/implementing-an-svg-viewer-in-javascript/#comment-626</guid>
		<description>You could try attach an onclick event to the container of the svg which will redirect the browser to the new page. To make it more clear, you could add some css to change the mouse pointer to a hand/finger/whatever-your-system-uses to indicate that the image is a link.</description>
		<content:encoded><![CDATA[<p>You could try attach an onclick event to the container of the svg which will redirect the browser to the new page. To make it more clear, you could add some css to change the mouse pointer to a hand/finger/whatever-your-system-uses to indicate that the image is a link.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Uttam</title>
		<link>http://verens.com/2006/02/05/implementing-an-svg-viewer-in-javascript/#comment-625</link>
		<dc:creator>Uttam</dc:creator>
		<pubDate>Sun, 18 Jun 2006 23:22:07 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2006/02/05/implementing-an-svg-viewer-in-javascript/#comment-625</guid>
		<description>Hello,

Just a new user of walter zorn&#039;s incredible jsgraphics library of functions.

I am searching for way to put hyperlinks into any of the graphics drawn using the functions e.g. jg.drawRect.  I would like to associate a URL with this image.  Any way in which I can do that?

All help appreciated.

Thanks in advance.

Uttam.

PS.  I am planning to use this feature in my website www.agni-systems.com which is under development.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Just a new user of walter zorn&#8217;s incredible jsgraphics library of functions.</p>
<p>I am searching for way to put hyperlinks into any of the graphics drawn using the functions e.g. jg.drawRect.  I would like to associate a URL with this image.  Any way in which I can do that?</p>
<p>All help appreciated.</p>
<p>Thanks in advance.</p>
<p>Uttam.</p>
<p>PS.  I am planning to use this feature in my website <a href="http://www.agni-systems.com" rel="nofollow">http://www.agni-systems.com</a> which is under development.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kae Verens</title>
		<link>http://verens.com/2006/02/05/implementing-an-svg-viewer-in-javascript/#comment-624</link>
		<dc:creator>Kae Verens</dc:creator>
		<pubDate>Thu, 09 Feb 2006 11:11:51 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2006/02/05/implementing-an-svg-viewer-in-javascript/#comment-624</guid>
		<description>Christof, there is no problem using Emil&#039;s code. I had a read through it, and it&#039;s a simple matter to use that as just a drawing library, instead of another SVG replacement.

You know - this is pretty exciting! I&#039;m really enjoying this project.</description>
		<content:encoded><![CDATA[<p>Christof, there is no problem using Emil&#8217;s code. I had a read through it, and it&#8217;s a simple matter to use that as just a drawing library, instead of another SVG replacement.</p>
<p>You know &#8211; this is pretty exciting! I&#8217;m really enjoying this project.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christof Donat</title>
		<link>http://verens.com/2006/02/05/implementing-an-svg-viewer-in-javascript/#comment-623</link>
		<dc:creator>Christof Donat</dc:creator>
		<pubDate>Thu, 09 Feb 2006 11:08:19 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2006/02/05/implementing-an-svg-viewer-in-javascript/#comment-623</guid>
		<description>I&#039;m not shure, but it seems as if Emil changed his plans to implement SVG via VML. Maybe the two efforts can somehow be brought together. I&#039;d like the idear of just integrating a Script and then using SVG as if every Browser did support it natively.

About the Licenses: I simply didn&#039;t think of that problem.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not shure, but it seems as if Emil changed his plans to implement SVG via VML. Maybe the two efforts can somehow be brought together. I&#8217;d like the idear of just integrating a Script and then using SVG as if every Browser did support it natively.</p>
<p>About the Licenses: I simply didn&#8217;t think of that problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kae Verens</title>
		<link>http://verens.com/2006/02/05/implementing-an-svg-viewer-in-javascript/#comment-622</link>
		<dc:creator>Kae Verens</dc:creator>
		<pubDate>Thu, 09 Feb 2006 09:06:58 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2006/02/05/implementing-an-svg-viewer-in-javascript/#comment-622</guid>
		<description>right... it handles 100% of the basic primitives now. Christof, I&#039;ll be upgrading it soon to use that IE Canvas implementation that you pointed out, sometime soon.

The only problem I have is with licenses. I give all my scripts out for free to anyone that asks for them, but I am always wary of any licensse of any kind, as I am not a legal type of person - the IE Canvas project uses the MIT license, and the jsGraphics library uses the LGPL license. I haven&#039;t a clue what those mean in real world terms.

The biggest problem I have with those licenses is that they specify that a copy of the license must be included with each script (or &quot;sizable portion&quot; of the script). This is most annoying, as a bit of optimisation would reduce the actual scripts to a tiny fraction of the size of the licenses themselves.

I would much rather a license that simply said something like this:

&lt;blockquote&gt;
this software is free, under the Kae license. you are free to use, re-distribute, and modify this code, as long as you don&#039;t place a restrictive copyright on it yourself. Have Fun.
&lt;/blockquote&gt;

unfortunately, I haven&#039;t a clue if that is legally binding.</description>
		<content:encoded><![CDATA[<p>right&#8230; it handles 100% of the basic primitives now. Christof, I&#8217;ll be upgrading it soon to use that IE Canvas implementation that you pointed out, sometime soon.</p>
<p>The only problem I have is with licenses. I give all my scripts out for free to anyone that asks for them, but I am always wary of any licensse of any kind, as I am not a legal type of person &#8211; the IE Canvas project uses the MIT license, and the jsGraphics library uses the LGPL license. I haven&#8217;t a clue what those mean in real world terms.</p>
<p>The biggest problem I have with those licenses is that they specify that a copy of the license must be included with each script (or &#8220;sizable portion&#8221; of the script). This is most annoying, as a bit of optimisation would reduce the actual scripts to a tiny fraction of the size of the licenses themselves.</p>
<p>I would much rather a license that simply said something like this:</p>
<blockquote><p>
this software is free, under the Kae license. you are free to use, re-distribute, and modify this code, as long as you don&#8217;t place a restrictive copyright on it yourself. Have Fun.
</p></blockquote>
<p>unfortunately, I haven&#8217;t a clue if that is legally binding.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kae Verens</title>
		<link>http://verens.com/2006/02/05/implementing-an-svg-viewer-in-javascript/#comment-621</link>
		<dc:creator>Kae Verens</dc:creator>
		<pubDate>Tue, 07 Feb 2006 18:37:36 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2006/02/05/implementing-an-svg-viewer-in-javascript/#comment-621</guid>
		<description>thanks for pointing that out, Sean

it does, now! :-)</description>
		<content:encoded><![CDATA[<p>thanks for pointing that out, Sean</p>
<p>it does, now! <img src='http://verens.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://verens.com/2006/02/05/implementing-an-svg-viewer-in-javascript/#comment-620</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Tue, 07 Feb 2006 17:42:24 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2006/02/05/implementing-an-svg-viewer-in-javascript/#comment-620</guid>
		<description>Doesn&#039;t work in FF 1.5 w/ svgenabled set to false.</description>
		<content:encoded><![CDATA[<p>Doesn&#8217;t work in FF 1.5 w/ svgenabled set to false.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Something Witty Goes Here &#187; Blog Archive &#187; SVG Using Nothin&#8217; But JavaScript</title>
		<link>http://verens.com/2006/02/05/implementing-an-svg-viewer-in-javascript/#comment-619</link>
		<dc:creator>Something Witty Goes Here &#187; Blog Archive &#187; SVG Using Nothin&#8217; But JavaScript</dc:creator>
		<pubDate>Mon, 06 Feb 2006 16:04:15 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2006/02/05/implementing-an-svg-viewer-in-javascript/#comment-619</guid>
		<description>[...] klog has written a library that handles drawing &#8220;about 80% of basic shapes&#8221; for SVG using nothing but DHTML. I haven&#8217;t tried it out yet, simply because all the browsers on all of my machines support SVG (Internet Explorer with the Adobe plugin, of course). I might actually uninstall ASV on one of my machines just to see how his library works. [...]</description>
		<content:encoded><![CDATA[<p>[...] klog has written a library that handles drawing &#8220;about 80% of basic shapes&#8221; for SVG using nothing but DHTML. I haven&#8217;t tried it out yet, simply because all the browsers on all of my machines support SVG (Internet Explorer with the Adobe plugin, of course). I might actually uninstall ASV on one of my machines just to see how his library works. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kae Verens</title>
		<link>http://verens.com/2006/02/05/implementing-an-svg-viewer-in-javascript/#comment-618</link>
		<dc:creator>Kae Verens</dc:creator>
		<pubDate>Mon, 06 Feb 2006 10:21:36 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2006/02/05/implementing-an-svg-viewer-in-javascript/#comment-618</guid>
		<description>the code was not rendering in IE. I&#039;ve fixed that (characters cannot be pulled from strings with &lt;code&gt;str[charIndex]&lt;/code&gt; - they must be pulled with &lt;code&gt;str.charAt(charIndex)&lt;/code&gt;).

Christof - I&#039;ve never used the responseXML property, so didn&#039;t think of it ;-)

Walter replied, saying that he would be adding functions (probably Bezier) to the library when he gets the time. I don&#039;t think he&#039;ll bother with anti-aliasing, though, so I suppose I&#039;ll need to hack that in myself.</description>
		<content:encoded><![CDATA[<p>the code was not rendering in IE. I&#8217;ve fixed that (characters cannot be pulled from strings with <code>str[charIndex]</code> &#8211; they must be pulled with <code>str.charAt(charIndex)</code>).</p>
<p>Christof &#8211; I&#8217;ve never used the responseXML property, so didn&#8217;t think of it <img src='http://verens.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Walter replied, saying that he would be adding functions (probably Bezier) to the library when he gets the time. I don&#8217;t think he&#8217;ll bother with anti-aliasing, though, so I suppose I&#8217;ll need to hack that in myself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christof Donat</title>
		<link>http://verens.com/2006/02/05/implementing-an-svg-viewer-in-javascript/#comment-617</link>
		<dc:creator>Christof Donat</dc:creator>
		<pubDate>Mon, 06 Feb 2006 09:09:36 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2006/02/05/implementing-an-svg-viewer-in-javascript/#comment-617</guid>
		<description>&quot;The parser reads the file in using the XMLHttpRequest object, then parses it into a walkable DOM-tree.&quot;

Why didn&#039;t you use the XMLHttpRequests reponseXML property?

&quot;Walterâ€™s script does not yet support anti-aliasing or bezier lines, which I have mailed him about.&quot;

Well, I guess that you will have to pay with a bad performance and memory penalty for anti-aliasing. Look at how Walters library works.

Beziers can be aproximated by polygons - actually many GUI systems do it that way.</description>
		<content:encoded><![CDATA[<p>&#8220;The parser reads the file in using the XMLHttpRequest object, then parses it into a walkable DOM-tree.&#8221;</p>
<p>Why didn&#8217;t you use the XMLHttpRequests reponseXML property?</p>
<p>&#8220;Walterâ€™s script does not yet support anti-aliasing or bezier lines, which I have mailed him about.&#8221;</p>
<p>Well, I guess that you will have to pay with a bad performance and memory penalty for anti-aliasing. Look at how Walters library works.</p>
<p>Beziers can be aproximated by polygons &#8211; actually many GUI systems do it that way.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

