<?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"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: mgraphics in_fill and svg</title>
		<atom:link href="http://cycling74.com/forums/topic/mgraphics-in_fill-and-svg/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/mgraphics-in_fill-and-svg/feed</link>
		<description></description>
		<pubDate>Mon, 17 Jun 2013 23:05:53 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/mgraphics-in_fill-and-svg/#post-35945</guid>
					<title><![CDATA[mgraphics in_fill and svg]]></title>
					<link>http://cycling74.com/forums/topic/mgraphics-in_fill-and-svg/#post-35945</link>
					<pubDate>Wed, 11 Jul 2012 22:23:05 +0000</pubDate>
					<dc:creator>Peter Nyboer</dc:creator>

					<description>
						<![CDATA[
						<p>I&#8217;m trying to use in_fill to detect mouseover and hover events on a rendered SVG graphic. is it possible?<br />
I&#8217;m modifying the UseSVG patch from Darwin to try it out, and no luck with:<br />
	with (mgraphics) {<br />
		// draw the center<br />
		save();<br />
		translate(.0, .45);<br />
		mgraphics.svg_render(&#8220;ring.svg&#8221;);<br />
		var ovah = mgraphics.in_fill(loc);<br />
		post(&#8220;nover&#8221;,ovah);<br />
		restore()<br />
&#8230;etc&#8230;<br />
}<br />
I always get 0 for the &#8220;ovah&#8221;. Is there a way I can do this?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/mgraphics-in_fill-and-svg/#post-123133</guid>
					<title><![CDATA[Re: mgraphics in_fill and svg]]></title>
					<link>http://cycling74.com/forums/topic/mgraphics-in_fill-and-svg/#post-123133</link>
					<pubDate>Thu, 12 Jul 2012 18:19:10 +0000</pubDate>
					<dc:creator>Ben Bracken</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Peter,</p>
<p>I believe in_fill only works for the current path.  To do what you want to do, you would probably have to get the size of the svg as well as the location of it, then compare it to the mouse&#8217;s current position.</p>
<p>-Ben</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

