Backgrounds

The following functions will give you information about a background:

background_exists(ind)   Returns whether a background with the given index exists. background_get_name(ind)   Returns the name of the background with the given index. background_get_width(ind)   Returns the width of the background with the given index. background_get_height(ind)   Returns the height of the background with the given index. background_get_transparent(ind)   Returns whether the background with the given index is transparent. background_get_smooth(ind)   Returns whether the background with the given index has smoothed edges. background_get_preload(ind)   Returns whether the background with the given index must be preloaded.

In certain situations you might want to save the bitmap corresponding the background to a file. For this the following function can be used:

background_save(ind,fname)   Saves the background ind to the file with the name fname. This must be a .bmp file. Only available in the Pro Edition.