Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 5389723cfaa070fa83dde30f5cb260be > files > 184

compat-guichan05-devel-0.5.0-11.fc15.i686.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Guichan: gcn::OpenGLSDLImageLoader Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li id="current"><a href="annotated.html"><span>Classes</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  </ul></div>
<div class="nav">
<a class="el" href="namespacegcn.html">gcn</a>::<a class="el" href="classgcn_1_1OpenGLSDLImageLoader.html">OpenGLSDLImageLoader</a></div>
<h1>gcn::OpenGLSDLImageLoader Class Reference</h1><!-- doxytag: class="gcn::OpenGLSDLImageLoader" --><!-- doxytag: inherits="gcn::SDLImageLoader" --><code>#include &lt;<a class="el" href="openglsdlimageloader_8hpp-source.html">openglsdlimageloader.hpp</a>&gt;</code>
<p>
<p>Inheritance diagram for gcn::OpenGLSDLImageLoader:
<p><center><img src="classgcn_1_1OpenGLSDLImageLoader.png" usemap="#gcn::OpenGLSDLImageLoader_map" border="0" alt=""></center>
<map name="gcn::OpenGLSDLImageLoader_map">
<area href="classgcn_1_1SDLImageLoader.html" alt="gcn::SDLImageLoader" shape="rect" coords="0,56,183,80">
<area href="classgcn_1_1ImageLoader.html" alt="gcn::ImageLoader" shape="rect" coords="0,0,183,24">
</map>
<a href="classgcn_1_1OpenGLSDLImageLoader-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
OpenGL <a class="el" href="classgcn_1_1ImageLoader.html">ImageLoader</a> that loads images with SDL. 
<p>

<p>
Definition at line <a class="el" href="openglsdlimageloader_8hpp-source.html#l00071">71</a> of file <a class="el" href="openglsdlimageloader_8hpp-source.html">openglsdlimageloader.hpp</a>.<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classgcn_1_1Image.html">Image</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcn_1_1OpenGLSDLImageLoader.html#3ee1cd01621f93752de27311a376043a">load</a> (const std::string &amp;filename, bool convertToDisplayFormat=true)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Loads an image by calling the image's <a class="el" href="classgcn_1_1ImageLoader.html">ImageLoader</a>.  <a href="#3ee1cd01621f93752de27311a376043a"></a><br></td></tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="3ee1cd01621f93752de27311a376043a"></a><!-- doxytag: member="gcn::OpenGLSDLImageLoader::load" ref="3ee1cd01621f93752de27311a376043a" args="(const std::string &amp;filename, bool convertToDisplayFormat=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classgcn_1_1Image.html">Image</a>* gcn::OpenGLSDLImageLoader::load           </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>convertToDisplayFormat</em> = <code>true</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Loads an image by calling the image's <a class="el" href="classgcn_1_1ImageLoader.html">ImageLoader</a>. 
<p>
NOTE: The functions getPixel and putPixel in <a class="el" href="classgcn_1_1Image.html">Image</a> are only guaranteed to work before an image has been converted to display format.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>filename</em>&nbsp;</td><td>the file to load. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>convertToDisplayFormat</em>&nbsp;</td><td>true if the image should be converted to display, false otherwise. </td></tr>
  </table>
</dl>

<p>
Reimplemented from <a class="el" href="classgcn_1_1SDLImageLoader.html#b22c9ab6175e52d0c76a11cae64bdd1f">gcn::SDLImageLoader</a>.
<p>
Definition at line <a class="el" href="openglsdlimageloader_8hpp-source.html#l00077">77</a> of file <a class="el" href="openglsdlimageloader_8hpp-source.html">openglsdlimageloader.hpp</a>.
<p>
References <a class="el" href="sdlimageloader_8cpp-source.html#l00105">gcn::SDLImageLoader::convertToStandardFormat()</a>, and <a class="el" href="sdlimageloader_8cpp-source.html#l00100">gcn::SDLImageLoader::loadSDLSurface()</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="openglsdlimageloader_8hpp-source.html">openglsdlimageloader.hpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sat Jul 29 19:38:49 2006 for Guichan by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>