<xml>
<head>
<title>Surface Resources</title>
</head>
<body>

<h3>Resource options</h3>

<p>Each surface <i>can</i> have the following properties:</p>

<pre>
&lt;surface
	name="my_surface"
	file="filename"
	format="image_format" &gt;
</pre>

<p>To setup a surface resource, it is required to specify the <i>name</i>
and <i>file</i> attributes of &lt;surface&gt;. If ClanLib has trouble
determining what format the specified filename is in, the extension known by
clanlib (eg. "jpg") can be told using the <i>format</i> attribute.</p>

<h3>Surface resource options reference</h3>

<p><b>&lt;surface&gt;</b></p>

<ul>
<li>Attribute <b>name</b>: Name of resource.
  <p>
  <i>Valid values</i>:<br>
  <i>Default value</i>: None, MUST BE PRESENT.
  </p>
</li>
<li>Attribute <b>file</b>: Filename of image to be used.
  <p>
  <i>Valid values</i>:<br>
  <i>Default value</i>: None, MUST BE PRESENT.
  </p>
</li>
<li>Attribute <b>format</b>: Extension of known format to be used for loading.
  <p>
  <i>Valid values</i>: "png", "jpg", "tga, "pcx"<br>
  <i>Default value</i>: Uses the extension used in the <i>file</i> attribute.
  </p>
</li>
</ul>

</body>
</xml>
