48 lines
1.3 KiB
HTML
48 lines
1.3 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
|
|
<html>
|
|
<head>
|
|
<title>Backgrounds</title>
|
|
<link href="style.css" rel="stylesheet" type="text/css">
|
|
</head>
|
|
<body background="images/back.gif">
|
|
<!--START-->
|
|
|
|
<h3>Backgrounds</h3>
|
|
|
|
The following functions will give you information about a background:
|
|
|
|
<p>
|
|
<blockquote>
|
|
<tt><b>background_exists(ind)</b></tt>
|
|
Returns whether a background with the given index exists.<br>
|
|
<tt><b>background_get_name(ind)</b></tt>
|
|
Returns the name of the background with the given index.<br>
|
|
<tt><b>background_get_width(ind)</b></tt>
|
|
Returns the width of the background with the given index.<br>
|
|
<tt><b>background_get_height(ind)</b></tt>
|
|
Returns the height of the background with the given index.<br>
|
|
</blockquote>
|
|
|
|
In certain situations you might want to save the bitmap corresponding the background
|
|
to a file. For this the following function can be used:
|
|
|
|
<p>
|
|
<blockquote>
|
|
<tt><b>background_save(ind,fname)</b></tt>
|
|
Saves the background ind to the file with the name fname. This must
|
|
be a .png file. <b><i>Only available in the Pro Edition.</i></b><br>
|
|
</blockquote>
|
|
|
|
|
|
<!--END-->
|
|
</body>
|
|
</html>
|
|
|
|
<!-- KEYWORDS
|
|
background_exists()
|
|
background_get_name()
|
|
background_get_width()
|
|
background_get_height()
|
|
background_save()
|
|
--> |