<?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: MGraphisc patttern.set_extend</title>
		<atom:link href="http://cycling74.com/forums/topic/mgraphisc-patttern-set_extend/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/mgraphisc-patttern-set_extend/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 02:25:39 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/mgraphisc-patttern-set_extend/#post-63062</guid>
					<title><![CDATA[MGraphisc patttern.set_extend]]></title>
					<link>http://cycling74.com/forums/topic/mgraphisc-patttern-set_extend/#post-63062</link>
					<pubDate>Wed, 18 Apr 2012 19:02:15 +0000</pubDate>
					<dc:creator>deligut</dc:creator>

					<description>
						<![CDATA[
						<p>I have a question regarding mgraphics, it is concerning the pattern.set_extend command.</p>
<p>I thought, setting the extend to &#8220;none&#8221; would not extend the image. In other words the image used for the creation of the pattern would only be used once in case the object to be filled (for example a rectangle) is bigger than the image (used for the creation of the pattern.</p>
<p>Below is an example which is a modification of the patch &#8220;ImageRotate&#8221; from the series &#8220;November Patch a day&#8221;.</p>
<p>I have increased the size of the rectangle to 3 times the size of the image. I was hoping to see the image only once but instead I get to see it 3 x 3 times. How can I stop the surface extending (repeating) the image?</p>
<p>p1 = pattern_create_for_surface(image);<br />
p1.set_extend(&#8220;none&#8221;);<br />
set_source(p1);<br />
rectangle(0, 0, 3*width, 3*height);<br />
fill();</p>
<p>Thanks<br />
Tim</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/mgraphisc-patttern-set_extend/#post-227548</guid>
					<title><![CDATA[Re: MGraphisc patttern.set_extend]]></title>
					<link>http://cycling74.com/forums/topic/mgraphisc-patttern-set_extend/#post-227548</link>
					<pubDate>Fri, 27 Apr 2012 07:48:20 +0000</pubDate>
					<dc:creator>deligut</dc:creator>

					<description>
						<![CDATA[
						<p>I have attached a little patch to illustrate what my problem is. Maybe anybody can help me find out why I do not see any change when I change the setting for pattern extend?<br />
Thanks<br />
Tim</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

