<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to fill_surface</title><link>https://sourceforge.net/p/arcanfe/wiki/fill_surface/</link><description>Recent changes to fill_surface</description><atom:link href="https://sourceforge.net/p/arcanfe/wiki/fill_surface/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 16 Jun 2012 11:18:26 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/arcanfe/wiki/fill_surface/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage fill_surface modified by Björn Ståhl</title><link>https://sourceforge.net/p/arcanfe/wiki/fill_surface/</link><description>**declaration:**

~~~~
    function fill_surface( width, height, r, g, b, [storewidth], [storeheight] ) =&gt; VID or BADID
~~~~

Create a solid-colour vid with the visual dimensions of width, height (non-negative) and the values of r, g, b into the channels (alpha is always 1).

*r, g, b* should all be within the 0 .. 255 range.

*storewidth, storeheight* are useful for render- to- texture scenarios or round-robins of frameserver framesets. 

Will only ever return BADID if out of memory or VIDs in the current context.

**related functions:**
[random_surface]
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Björn Ståhl</dc:creator><pubDate>Sat, 16 Jun 2012 11:18:26 -0000</pubDate><guid>https://sourceforge.net7e285913bf91047499e739e2eca7994f06251ee4</guid></item></channel></rss>