<li><a href="#Creating_a_SDL_Surface_piddle">Creating a SDL Surface piddle</a>
<ul><li><a href="#Creating_a_simple_piddle">Creating a simple piddle</a></li>
<li><a href="#Operating_on_the_Surface_safely">Operating on the Surface safely</a></li>
-<li><a href="#Error_due_to_BPP_at_blitting">Error due to BPP at blitting</a>
-</li>
+<li><a href="#Error_due_to_BPP_at_blitting">Error due to BPP at blitting</a></li>
</ul>
</li>
+<li><a href="#AUTHORS">AUTHORS</a>
+</li>
</ul><hr />
<!-- INDEX END -->
<p>To make sure SDL is in sync with the data. You must call SDL::Video::lock <strong>before</strong> doing PDL operations on the piddle.</p>
<pre> SDL::Video::lock_surface($surface);
- $piddle ( :, 0 : rand(400), 0 : rand(200) ) .= pdl( rand(225), rand(225), rand(255), 255 );
+ $piddle->mslice( 'X', [ rand(400), rand(400), 1 ], [ rand(200), rand(200), 1 ] )
+ .= pdl( rand(225), rand(225), rand(255), 255 );
</pre>
<p>After that you can unlock the surface to blit.</p>
After that a simple update_rect will so your new surface on the screen.</p>
</div>
+<h1 id="AUTHORS">AUTHORS</h1><p><a href="#TOP" class="toplink">Top</a></p>
+<div id="AUTHORS_CONTENT">
+<p>See <b>AUTHORS</b> in <cite>SDL</cite>.</p>
+
+
+
+
+
+</div>
</div>
\ No newline at end of file