<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.megazine3.de/wiki/skins/common/feed.css?301"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.megazine3.de/wiki/index.php?title=Special:NewPages&amp;feed=atom&amp;hideliu=&amp;hidepatrolled=&amp;hidebots=&amp;hideredirs=1&amp;limit=50&amp;namespace=0</id>
		<title>MegaZine3 - New pages [en]</title>
		<link rel="self" type="application/atom+xml" href="http://www.megazine3.de/wiki/index.php?title=Special:NewPages&amp;feed=atom&amp;hideliu=&amp;hidepatrolled=&amp;hidebots=&amp;hideredirs=1&amp;limit=50&amp;namespace=0"/>
		<link rel="alternate" type="text/html" href="http://www.megazine3.de/doc/Special:NewPages"/>
		<updated>2013-05-19T02:59:11Z</updated>
		<subtitle>From MegaZine3</subtitle>
		<generator>MediaWiki 1.17.0</generator>

	<entry>
		<id>http://www.megazine3.de/doc/Draw</id>
		<title>Draw</title>
		<link rel="alternate" type="text/html" href="http://www.megazine3.de/doc/Draw"/>
				<updated>2013-01-23T18:59:59Z</updated>
		
		<summary type="html">&lt;p&gt;Hnuecke: added version number to template PluginInfo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PluginInfo&lt;br /&gt;
| name = Draw&lt;br /&gt;
| image = draw_1.png&lt;br /&gt;
| version = 2.1.2&lt;br /&gt;
| files =&lt;br /&gt;
gui/draw.asul&amp;lt;br/&amp;gt;&lt;br /&gt;
plugins/scripts/draw.php&amp;lt;br/&amp;gt;&lt;br /&gt;
plugins/scripts/draw.xsd&amp;lt;br/&amp;gt;&lt;br /&gt;
| related =&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The [[draw]] plugin allows to draw in pages. The attributes of the pen like color and stroke can be modified dynamically in adjusting sliders provided in the specific &amp;quot;draw menu&amp;quot; or configured at book level (settings) or via adjustments in the draw.asul file. Available with version 2.1.2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Settings =&lt;br /&gt;
&lt;br /&gt;
{{Attribute&lt;br /&gt;
| h= ==&lt;br /&gt;
| name = drawminpensize&lt;br /&gt;
| type = Integer&lt;br /&gt;
| default = 1&lt;br /&gt;
| info =&lt;br /&gt;
The minimal size of the pen, that can be adjusted with the slider in the draw menu. &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Attribute&lt;br /&gt;
| h= ==&lt;br /&gt;
| name = drawmaxpensize&lt;br /&gt;
| type = Integer&lt;br /&gt;
| default = 12&lt;br /&gt;
| info =&lt;br /&gt;
The maximal size of the pen, that can be adjusted with the slider in the draw menu. &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Attribute&lt;br /&gt;
| h= ==&lt;br /&gt;
| name = drawdefaultpenalpha&lt;br /&gt;
| type = Number&lt;br /&gt;
| default = 0.5&lt;br /&gt;
| info =&lt;br /&gt;
The visibility of of the pen as alpha value in the range between 0 (invisible) and 1 (100% visible).&lt;br /&gt;
Alpha is inverse to opacity: 100% visibility = 0% opacit. Or as formula: alpha = 1 - opacity.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Attribute&lt;br /&gt;
| h= ==&lt;br /&gt;
| name = drawsmoothing&lt;br /&gt;
| type = Number&lt;br /&gt;
| default = 0.5&lt;br /&gt;
| info =&lt;br /&gt;
Smoothens the drawing, with 0.1 = full smoothing, 1 = minimal smoothing. The default value should fit best.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Attribute&lt;br /&gt;
| h= ==&lt;br /&gt;
| name = drawdynamics&lt;br /&gt;
| type = Number&lt;br /&gt;
| default = 0.1&lt;br /&gt;
| info =&lt;br /&gt;
Adds dynamics to the drawing. Value between 0. (no dynamics) and 1 (full dynamics). The faster the pen is moved and the higher the value, the thicker the line will be in the middle between start and end points.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Attribute&lt;br /&gt;
| h= ==&lt;br /&gt;
| name = drawdisablesturning&lt;br /&gt;
| type = Boolean&lt;br /&gt;
| default = true&lt;br /&gt;
| info =&lt;br /&gt;
Disables a page turn (flip) when the pen (cursor) is moved into the dragrange while drawing.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Attribute&lt;br /&gt;
| h= ==&lt;br /&gt;
| name = drawloadurl&lt;br /&gt;
| type = String&lt;br /&gt;
| default = &amp;quot;&amp;quot;&lt;br /&gt;
| info =&lt;br /&gt;
URL of a file name with the saved drawing, that will be loaded via a GET command from the server when the book is opened.&lt;br /&gt;
The path is relative to the location of the script that also saves the drawing (usually a PHP script). That script runs on the server (remote server or local server) and the location is configured with the 'drawsaveurl' attribute.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Attribute&lt;br /&gt;
| h= ==&lt;br /&gt;
| name = drawsaveurl&lt;br /&gt;
| type = String&lt;br /&gt;
| default = &amp;quot;&amp;quot;&lt;br /&gt;
| info =&lt;br /&gt;
URL of the (PHP) script, that will receive the drawing data as POST message from MegaZine3. &lt;br /&gt;
A sample PHP file is available as megazine/plugins/scripts/draw.php&lt;br /&gt;
To make use of the save/load functionality, that script can be used on a local (e.g. XAMPP) server also. The respective settings then are:&lt;br /&gt;
&lt;br /&gt;
* drawloadurl=&amp;quot;plugins/scripts/drawings.xml&amp;quot;&lt;br /&gt;
* drawsaveurl=&amp;quot;plugins/scripts/draw.php&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Attribute&lt;br /&gt;
| h= ==&lt;br /&gt;
| name = drawsavetokens&lt;br /&gt;
| type = String&lt;br /&gt;
| default = &amp;quot;&amp;quot;&lt;br /&gt;
| info =&lt;br /&gt;
To identify the user, the server will send a token (hash key) to MegaZine3, and MegaZine3 will include that token with every message sent back to the server (like with a POST to save the drawoing data).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Attribute&lt;br /&gt;
| h= ==&lt;br /&gt;
| name = drawautosavedelay&lt;br /&gt;
| type = Number&lt;br /&gt;
| default = 10&lt;br /&gt;
| info =&lt;br /&gt;
Time after which a snapshot of the drawing is saved automatically.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Plugins}}&lt;/div&gt;</summary>
		<author><name>Hnuecke</name></author>	</entry>

	</feed>