Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > bad97183153701b09df5fae1052b1c30 > files > 534

crystalspace-doc-1.2.1-5mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Crystal Space 1.2.1: csG2DDrawLine&lt; Tpixel, Tpixmixer &gt; Class Template Reference (Crystal Space 1.2.1 Public API Reference)</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="head">
 <tr height="59">
  <td class="head" width="202" valign="bottom" style="padding-left:0;"><a href="http://www.crystalspace3d.org/"><img src="csblur.png" width="236" height="59" alt="CrystalSpace" border="0"></a></td>
  <td class="head"><h2>Public API Reference</h2></td>
 </tr>
 <tr height="11">
  <td colspan="2" class="headshadow" valign="top" style="padding-left:0;"><img src="csblurb.png" width="236" height="11" alt="" border="0"></td>
 </tr>
</table>
<div class="content">
<!-- Generated by Doxygen 1.5.3 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li class="current"><a href="classes.html"><span>Classes</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul>
</div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <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>
<h1>csG2DDrawLine&lt; Tpixel, Tpixmixer &gt; Class Template Reference<br>
<small>
[<a class="el" href="group__plugincommon.html">Common Plugin Classes</a>]</small>
</h1><!-- doxytag: class="csG2DDrawLine" -->Class to draw a line.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="draw__line_8h-source.html">csplugincommon/canvas/draw_line.h</a>&gt;</code>
<p>

<p>
<a href="classcsG2DDrawLine-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsG2DDrawLine.html#e818417fac0ae477cd5e5370baa262bd">DrawLine</a> (<a class="el" href="classcsGraphics2D.html">csGraphics2D</a> *G2D, float x1, float y1, float x2, float y2, Tpixel color, <a class="el" href="group__util.html#gdde6aaee8457bee49c2a92621fe22b79">uint8</a> alpha)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draw a line.  <a href="#e818417fac0ae477cd5e5370baa262bd"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class Tpixel, class Tpixmixer&gt;<br>
 class csG2DDrawLine&lt; Tpixel, Tpixmixer &gt;</h3>

Class to draw a line. 
<p>Definition at line <a class="el" href="draw__line_8h-source.html#l00036">36</a> of file <a class="el" href="draw__line_8h-source.html">draw_line.h</a>.</p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="e818417fac0ae477cd5e5370baa262bd"></a><!-- doxytag: member="csG2DDrawLine::DrawLine" ref="e818417fac0ae477cd5e5370baa262bd" args="(csGraphics2D *G2D, float x1, float y1, float x2, float y2, Tpixel color, uint8 alpha)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Tpixel, class Tpixmixer&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classcsG2DDrawLine.html">csG2DDrawLine</a>&lt; Tpixel, Tpixmixer &gt;::DrawLine           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcsGraphics2D.html">csGraphics2D</a> *&nbsp;</td>
          <td class="paramname"> <em>G2D</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Tpixel&nbsp;</td>
          <td class="paramname"> <em>color</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__util.html#gdde6aaee8457bee49c2a92621fe22b79">uint8</a>&nbsp;</td>
          <td class="paramname"> <em>alpha</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw a line. 
<p>

<p>Definition at line <a class="el" href="draw__line_8h-source.html#l00040">40</a> of file <a class="el" href="draw__line_8h-source.html">draw_line.h</a>.</p>

<p>References <a class="el" href="csqint_8h-source.html#l00054">csQfixed16()</a>, <a class="el" href="csqint_8h-source.html#l00036">csQint()</a>, <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00257">csGraphics2D::GetPixelAt()</a>, <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00084">csGraphics2D::LineAddress</a>, and <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00078">csGraphics2D::Memory</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li>csplugincommon/canvas/<a class="el" href="draw__line_8h-source.html">draw_line.h</a></ul>
<hr size="1"><address><small>Generated for Crystal Space 1.2.1 by 
<a href="http://www.doxygen.org/index.html">doxygen</a> 1.5.3 
</small></address> </div></body> </html>