<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://miniscript.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=WorldLover</id>
	<title>MiniScript Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://miniscript.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=WorldLover"/>
	<link rel="alternate" type="text/html" href="http://miniscript.org/wiki/Special:Contributions/WorldLover"/>
	<updated>2026-04-13T14:40:00Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.drawImage&amp;diff=999</id>
		<title>PixelDisplay.drawImage</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.drawImage&amp;diff=999"/>
		<updated>2022-08-16T17:32:24Z</updated>

		<summary type="html">&lt;p&gt;WorldLover: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;[[PixelDisplay]].drawImage&amp;lt;/c&amp;gt; draws an [[Image]], or a portion of an Image, to the pixel display.&lt;br /&gt;
&lt;br /&gt;
=== Arguments ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Parameter Name !! Type !! Default Value !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| ''image'' || image || 0 || picture to draw&lt;br /&gt;
|-&lt;br /&gt;
| ''left'' || number || 0 || left side of destination area in the display&lt;br /&gt;
|-&lt;br /&gt;
| ''bottom'' || number || 0 || bottom of destination area in the display&lt;br /&gt;
|-&lt;br /&gt;
| ''width'' || number || -1 || width of destination area in the display&lt;br /&gt;
|-&lt;br /&gt;
| ''height'' || number || -1 || height side of destination area in the display&lt;br /&gt;
|-&lt;br /&gt;
| ''srcLeft'' || number || 0 || left side of source area in the image&lt;br /&gt;
|-&lt;br /&gt;
| ''srcBottom'' || number || 0 || bottom side of source area in the image&lt;br /&gt;
|-&lt;br /&gt;
| ''srcWidth'' || number || -1 || width of source area in the image&lt;br /&gt;
|-&lt;br /&gt;
| ''srcHeight'' || number || -1 || height side of source area in the image&lt;br /&gt;
|-&lt;br /&gt;
| ''tint'' || string || &amp;quot;#FFFFFF&amp;quot; || tint applied when drawing the image&lt;br /&gt;
|} &lt;br /&gt;
&lt;br /&gt;
=== Usage Notes ===&lt;br /&gt;
To draw the entire image, specify only the image, and the bottom-left&lt;br /&gt;
corner of where you want it to appear on the display (and optionally the &lt;br /&gt;
desired width and height you want it to appear).  To draw just a portion&lt;br /&gt;
of an image, add the four additional parameters specifying the rectangular&lt;br /&gt;
area in the source image that you want to draw.&lt;br /&gt;
&lt;br /&gt;
Note that this should not be used for animation, as it is substantially&lt;br /&gt;
slower than using a [[SpriteDisplay]].  But it is more efficient if you&lt;br /&gt;
only need to draw something occasionally.&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>WorldLover</name></author>
		
	</entry>
</feed>