<divid=Content><divclass="CSection"><divclass=CTopicid=MainTopic><h1class=CTitle><aname="Graphics"></a>Graphics</h1><divclass=CBody><!--START_ND_SUMMARY--><divclass=Summary><divclass=STitle>Summary</div><divclass=SBorder><tableborder=0cellspacing=0cellpadding=0class=STable><trclass="SMain"><tdclass=SEntry><ahref="#Graphics">Graphics</a></td><tdclass=SDescription></td></tr><trclass="SSection"><tdclass=SEntry><ahref="#Structures">Structures</a></td><tdclass=SDescription></td></tr><trclass="SClass"><tdclass=SEntry><ahref="#IMAGE_INFO">IMAGE_INFO</a></td><tdclass=SDescription></td></tr><trclass="SGroup SIndent1"><tdclass=SEntry><ahref="#IMAGE_INFO.Variables">Variables</a></td><tdclass=SDescription></td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#IMAGE_INFO.width"id=link1onMouseOver="ShowTip(event, 'tt1', 'link1')"onMouseOut="HideTip('tt1')">width</a></td><tdclass=SDescription>Contains the width of the image</td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#IMAGE_INFO.height"id=link2onMouseOver="ShowTip(event, 'tt2', 'link2')"onMouseOut="HideTip('tt2')">height</a></td><tdclass=SDescription>Contains the height of the image</td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#IMAGE_INFO.format"id=link3onMouseOver="ShowTip(event, 'tt3', 'link3')"onMouseOut="HideTip('tt3')">format</a></td><tdclass=SDescription>Contains the format of the image. </td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#IMAGE_INFO.data"id=link4onMouseOver="ShowTip(event, 'tt4', 'link4')"onMouseOut="HideTip('tt4')">data</a></td><tdclass=SDescription>Pointer to the image data.</td></tr><trclass="SClass"><tdclass=SEntry><ahref="#VIDEO_MODE">VIDEO_MODE</a></td><tdclass=SDescription></td></tr><trclass="SSection"><tdclass=SEntry><ahref="#Functions">Functions</a></td><tdclass=SDescription></td></tr><trclass="SGroup SIndent1"><tdclass=SEntry><ahref="#Quads">Quads</a></td><tdclass=SDescription></td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#gfx_quads_begin"id=link5onMouseOver="ShowTip(event, 'tt5', 'link5')"onMouseOut="HideTip('tt5')">gfx_quads_begin</a></td><tdclass=SDescription>Begins a quad drawing session.</td></tr><trclass="SFunction SIndent2"><tdclass=SEntry><ahref="#gfx_quads_end"id=link6onMouseOver="ShowTip(event, 'tt6', 'link6')"onMouseOut="HideTip('tt6')">gfx_quads_end</a></td><tdclass=SDescription>Ends a quad session.</td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#gfx_quads_setrotation"id=link7onMouseOver="ShowTip(event, 'tt7', 'link7')"onMouseOut="HideTip('tt7')">gfx_quads_setrotation</a></td><tdclass=SDescription>Sets the rotation to use when drawing a quad.</td></tr><trclass="SFunction SIndent2"><tdclass=SEntry><ahref="#gfx_quads_setsubset"id=link8onMouseOver="ShowTip(event, 'tt8', 'link8')"onMouseOut="HideTip('tt8')">gfx_quads_setsubset</a></td><tdclass=SDescription>Sets the uv coordinates to use.</td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#gfx_quads_setsubset_free"id=link9onMouseOver="ShowTip(event, 'tt9', 'link9')"onMouseOut="HideTip('tt9')">gfx_quads_setsubset_free</a></td><tdclass=SDescription>TODO</td></tr><trclass="SFunction SIndent2"><tdclass=SEntry><ahref="#gfx_quads_drawTL"id=link10onMouseOver="ShowTip(event, 'tt10', 'link10')"onMouseOut="HideTip('tt10')">gfx_quads_drawTL</a></td><tdclass=SDescription>Draws a quad by specifying the top-left point.</td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#gfx_quads_draw"id=link11onMouseOver="ShowTip(event, 'tt11', 'link11')"onMouseOut="HideTip('tt11')">gfx_quads_draw</a></td><tdclass=SDescription>Draws a quad by specifying the center point.</td></tr><trclass="SFunction SIndent2"><tdclass=SEntry><ahref="#gfx_quads_draw_freeform"id=link12onMouseOver="ShowTip(event, 'tt12', 'link12')"onMouseOut="HideTip('tt12')">gfx_quads_draw_freeform</a></td><tdclass=SDescription>Draws a quad by specifying the corner p
<divclass="CClass"><divclass=CTopic><h2class=CTitle><aname="IMAGE_INFO"></a>IMAGE_INFO</h2><divclass=CBody><!--START_ND_SUMMARY--><divclass=Summary><divclass=STitle>Summary</div><divclass=SBorder><tableborder=0cellspacing=0cellpadding=0class=STable><trclass="SGroup"><tdclass=SEntry><ahref="#IMAGE_INFO.Variables">Variables</a></td><tdclass=SDescription></td></tr><trclass="SVariable SIndent1 SMarked"><tdclass=SEntry><ahref="#IMAGE_INFO.width"id=link44onMouseOver="ShowTip(event, 'tt1', 'link44')"onMouseOut="HideTip('tt1')">width</a></td><tdclass=SDescription>Contains the width of the image</td></tr><trclass="SVariable SIndent1"><tdclass=SEntry><ahref="#IMAGE_INFO.height"id=link45onMouseOver="ShowTip(event, 'tt2', 'link45')"onMouseOut="HideTip('tt2')">height</a></td><tdclass=SDescription>Contains the height of the image</td></tr><trclass="SVariable SIndent1 SMarked"><tdclass=SEntry><ahref="#IMAGE_INFO.format"id=link46onMouseOver="ShowTip(event, 'tt3', 'link46')"onMouseOut="HideTip('tt3')">format</a></td><tdclass=SDescription>Contains the format of the image. </td></tr><trclass="SVariable SIndent1"><tdclass=SEntry><ahref="#IMAGE_INFO.data"id=link47onMouseOver="ShowTip(event, 'tt4', 'link47')"onMouseOut="HideTip('tt4')">data</a></td><tdclass=SDescription>Pointer to the image data.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="IMAGE_INFO.width"></a>width</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>int width</td></tr></table></blockquote><p>Contains the width of the image</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="IMAGE_INFO.height"></a>height</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>int height</td></tr></table></blockquote><p>Contains the height of the image</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="IMAGE_INFO.format"></a>format</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>int format</td></tr></table></blockquote><p>Contains the format of the image. See <ahref="e_if_client-h.html#Image_Formats"class=LConstant>Image Formats</a> for more information.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="IMAGE_INFO.data"></a>data</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>void *data</td></tr></table></blockquote><p>Pointer to the image data.</p></div></div></div>
<divclass="CSection"><divclass=CTopic><h2class=CTitle><aname="Functions"></a>Functions</h2><divclass=CBody><!--START_ND_SUMMARY--><divclass=Summary><divclass=STitle>Summary</div><divclass=SBorder><tableborder=0cellspacing=0cellpadding=0class=STable><trclass="SGroup"><tdclass=SEntry><ahref="#Quads">Quads</a></td><tdclass=SDescription></td></tr><trclass="SFunction SIndent1 SMarked"><tdclass=SEntry><ahref="#gfx_quads_begin"id=link48onMouseOver="ShowTip(event, 'tt5', 'link48')"onMouseOut="HideTip('tt5')">gfx_quads_begin</a></td><tdclass=SDescription>Begins a quad drawing session.</td></tr><trclass="SFunction SIndent1"><tdclass=SEntry><ahref="#gfx_quads_end"id=link49onMouseOver="ShowTip(event, 'tt6', 'link49')"onMouseOut="HideTip('tt6')">gfx_quads_end</a></td><tdclass=SDescription>Ends a quad session.</td></tr><trclass="SFunction SIndent1 SMarked"><tdclass=SEntry><ahref="#gfx_quads_setrotation"id=link50onMouseOver="ShowTip(event, 'tt7', 'link50')"onMouseOut="HideTip('tt7')">gfx_quads_setrotation</a></td><tdclass=SDescription>Sets the rotation to use when drawing a quad.</td></tr><trclass="SFunction SIndent1"><tdclass=SEntry><ahref="#gfx_quads_setsubset"id=link51onMouseOver="ShowTip(event, 'tt8', 'link51')"onMouseOut="HideTip('tt8')">gfx_quads_setsubset</a></td><tdclass=SDescription>Sets the uv coordinates to use.</td></tr><trclass="SFunction SIndent1 SMarked"><tdclass=SEntry><ahref="#gfx_quads_setsubset_free"id=link52onMouseOver="ShowTip(event, 'tt9', 'link52')"onMouseOut="HideTip('tt9')">gfx_quads_setsubset_free</a></td><tdclass=SDescription>TODO</td></tr><trclass="SFunction SIndent1"><tdclass=SEntry><ahref="#gfx_quads_drawTL"id=link53onMouseOver="ShowTip(event, 'tt10', 'link53')"onMouseOut="HideTip('tt10')">gfx_quads_drawTL</a></td><tdclass=SDescription>Draws a quad by specifying the top-left point.</td></tr><trclass="SFunction SIndent1 SMarked"><tdclass=SEntry><ahref="#gfx_quads_draw"id=link54onMouseOver="ShowTip(event, 'tt11', 'link54')"onMouseOut="HideTip('tt11')">gfx_quads_draw</a></td><tdclass=SDescription>Draws a quad by specifying the center point.</td></tr><trclass="SFunction SIndent1"><tdclass=SEntry><ahref="#gfx_quads_draw_freeform"id=link55onMouseOver="ShowTip(event, 'tt12', 'link55')"onMouseOut="HideTip('tt12')">gfx_quads_draw_freeform</a></td><tdclass=SDescription>Draws a quad by specifying the corner points.</td></tr><trclass="SFunction SIndent1 SMarked"><tdclass=SEntry><ahref="#gfx_quads_text"id=link56onMouseOver="ShowTip(event, 'tt13', 'link56')"onMouseOut="HideTip('tt13')">gfx_quads_text</a></td><tdclass=SDescription>TODO</td></tr><trclass="SGroup"><tdclass=SEntry><ahref="#Lines">Lines</a></td><tdclass=SDescription></td></tr><trclass="SFunction SIndent1 SMarked"><tdclass=SEntry><ahref="#gfx_lines_begin"id=link57onMouseOver="ShowTip(event, 'tt14', 'link57')"onMouseOut="HideTip('tt14')">gfx_lines_begin</a></td><tdclass=SDescription>TODO</td></tr><trclass="SFunction SIndent1"><tdclass=SEntry><ahref="#gfx_lines_draw"id=link58onMouseOver="ShowTip(event, 'tt15', 'link58')"onMouseOut="HideTip('tt15')">gfx_lines_draw</a></td><tdclass=SDescription>TODO</td></tr><trclass="SFunction SIndent1 SMarked"><tdclass=SEntry><ahref="#gfx_minimize"id=link59onMouseOver="ShowTip(event, 'tt16', 'link59')"onMouseOut="HideTip('tt16')">gfx_minimize</a></td><tdclass=SDescription>Minimizes the window.</td></tr><trclass="SFunction SIndent1"><tdclass=SEntry><ahref="#gfx_minimize">gfx_minimize</a></td><tdclass=SDescription>Maximizes the window.</td></tr><trclass="SFunction SIndent1 SMarked"><tdclass=SEntry><ahref="#gfx_lines_end"id=link60onMouseOver="ShowTip(event, 'tt17', 'link60')"onMouseOut="HideTip('tt17')">gfx_lines_end</a></td><tdclass=SDescription>TODO</td></tr><trclass="SGroup"><tdclass=SEntry><ahref="#Text">Text</a></td><tdclass=SDescription></td></tr><trclass="SFunction SIndent1 SMarked"><tdclass=SEntry><ahref="#gfx_text"id=link61onMouseOver="ShowTip(event, 'tt18', 'link61')"onMouseOut="HideTip('tt18'
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="gfx_quads_begin"></a>gfx_quads_begin</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>void gfx_quads_begin()</td></tr></table></blockquote><p>Begins a quad drawing session.</p><h4class=CHeading>Remarks</h4><p>This functions resets the rotation, color and subset. End the session by using <ahref="#gfx_quads_end"class=LFunctionid=link87onMouseOver="ShowTip(event, 'tt6', 'link87')"onMouseOut="HideTip('tt6')">gfx_quads_end</a>. You can’t change texture or blending mode during a session.</p><h4class=CHeading>See Also</h4><p><ahref="#gfx_quads_end"class=LFunctionid=link88onMouseOver="ShowTip(event, 'tt6', 'link88')"onMouseOut="HideTip('tt6')">gfx_quads_end</a></p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="gfx_quads_setrotation"></a>gfx_quads_setrotation</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void gfx_quads_setrotation(</td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>angle</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the rotation to use when drawing a quad.</p><h4class=CHeading>Arguments</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>angle</td><tdclass=CDLDescription>Angle in radians.</td></tr></table><h4class=CHeading>Remarks</h4><p>The angle is reset when <ahref="#gfx_quads_begin"class=LFunctionid=link90onMouseOver="ShowTip(event, 'tt5', 'link90')"onMouseOut="HideTip('tt5')">gfx_quads_begin</a> is called.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="gfx_quads_setsubset"></a>gfx_quads_setsubset</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void gfx_quads_setsubset(</td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>tl_u,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>tl_v,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>br_u,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>br_v</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the uv coordinates to use.</p><h4class=CHeading>Arguments</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>tl_u</td><tdclass=CDLDescription>Top-left U value.</td></tr><tr><tdclass=CDLEntry>tl_v</td><tdclass=CDLDescription>Top-left V value.</td></tr><tr><tdclass=CDLEntry>br_u</td><tdclass=CDLDescription>Bottom-right U value.</td></tr><tr><tdclass=CDLEntry>br_v</td><tdclass=CDLDescription>Bottom-right V value.</td></tr></table><h4class=CHeading>Remarks</h4><p>O,0 is top-left of the texture and 1,1 is bottom-right. The color is reset when <ahref="#gfx_quads_begin"class=LFunctionid=link91onMouseOver="ShowTip(event, 'tt5', 'link91')"onMouseOut="HideTip('tt5')">gfx_quads_begin</a> is called.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="gfx_quads_drawTL"></a>gfx_quads_drawTL</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void gfx_quads_drawTL(</td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>x,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>y,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>width,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>height</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Draws a quad by specifying the top-left point.</p><h4class=CHeading>Arguments</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>x</td><tdclass=CDLDescription>X coordinate of the top-left corner.</td></tr><tr><tdclass=CDLEntry>y</td><tdclass=CDLDescription>Y coordinate of the top-left corner.</td></tr><tr><tdclass=CDLEntry>width</td><tdclass=CDLDescription>Width of the quad.</td></tr><tr><tdclass=CDLEntry>height</td><tdclass=CDLDescription>Height of the quad.</td></tr></table><h4class=CHeading>Remarks</h4><p>Rotation still occurs from the center of the quad. You must call <ahref="#gfx_quads_begin"class=LFunctionid=link92onMouseOver="ShowTip(event, 'tt5', 'link92')"onMouseOut="HideTip('tt5')">gfx_quads_begin</a> before calling this function.</p><h4class=CHeading>See Also</h4><p><gfx_quads_draw, gfx_quads_draw_freeform></p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="gfx_quads_draw"></a>gfx_quads_draw</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void gfx_quads_draw(</td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>x,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>y,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>w,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>h</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Draws a quad by specifying the center point.</p><h4class=CHeading>Arguments</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>x</td><tdclass=CDLDescription>X coordinate of the center.</td></tr><tr><tdclass=CDLEntry>y</td><tdclass=CDLDescription>Y coordinate of the center.</td></tr><tr><tdclass=CDLEntry>width</td><tdclass=CDLDescription>Width of the quad.</td></tr><tr><tdclass=CDLEntry>height</td><tdclass=CDLDescription>Height of the quad.</td></tr></table><h4class=CHeading>Remarks</h4><p>You must call <ahref="#gfx_quads_begin"class=LFunctionid=link93onMouseOver="ShowTip(event, 'tt5', 'link93')"onMouseOut="HideTip('tt5')">gfx_quads_begin</a> before calling this function.</p><h4class=CHeading>See Also</h4><p><gfx_quads_drawTL, gfx_quads_draw_freeform></p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="gfx_quads_draw_freeform"></a>gfx_quads_draw_freeform</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void gfx_quads_draw_freeform(</td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>x0,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>y0,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>x1,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>y1,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>x2,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>y2,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>x3,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>y3</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Draws a quad by specifying the corner points.</p><h4class=CHeading>Arguments</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>x0, y0</td><tdclass=CDLDescription>Coordinates of the upper left corner.</td></tr><tr><tdclass=CDLEntry>x1, y1</td><tdclass=CDLDescription>Coordinates of the upper right corner.</td></tr><tr><tdclass=CDLEntry>x2, y2</td><tdclass=CDLDescription>Coordinates of the lower left corner. // TODO: DOUBLE CHECK!!!</td></tr><tr><tdclass=CDLEntry>x3, y3</td><tdclass=CDLDescription>Coordinates of the lower right corner. // TODO: DOUBLE CHECK!!!</td></tr></table><h4class=CHeading>See Also</h4><p><gfx_quads_draw, gfx_quads_drawTL></p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="gfx_minimize"></a>gfx_minimize</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>void gfx_minimize()</td></tr></table></blockquote><p>Minimizes the window.</p><h4class=CHeading>Arguments</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>arg1</td><tdclass=CDLDescription>desc</td></tr></table><h4class=CHeading>Returns</h4><h4class=CHeading>See Also</h4><p><other_func></p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="gfx_minimize"></a>gfx_minimize</h3><divclass=CBody><p>Maximizes the window.</p><h4class=CHeading>Arguments</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>arg1</td><tdclass=CDLDescription>desc</td></tr></table><h4class=CHeading>Returns</h4><h4class=CHeading>See Also</h4><p><other_func></p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="gfx_text"></a>gfx_text</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void gfx_text(</td><tdclass=PTypePrefixnowrap></td><tdclass=PTypenowrap>void </td><tdclass=PParameterPrefixnowrap>*</td><tdclass=PParameternowrap>font,</td></tr><tr><td></td><tdclass=PTypePrefixnowrap></td><tdclass=PTypenowrap>float </td><tdclass=PParameterPrefixnowrap></td><tdclass=PParameternowrap>x,</td></tr><tr><td></td><tdclass=PTypePrefixnowrap></td><tdclass=PTypenowrap>float </td><tdclass=PParameterPrefixnowrap></td><tdclass=PParameternowrap>y,</td></tr><tr><td></td><tdclass=PTypePrefixnowrap></td><tdclass=PTypenowrap>float </td><tdclass=PParameterPrefixnowrap></td><tdclass=PParameternowrap>size,</td></tr><tr><td></td><tdclass=PTypePrefixnowrap>const </td><tdclass=PTypenowrap>char </td><tdclass=PParameterPrefixnowrap>*</td><tdclass=PParameternowrap>text,</td></tr><tr><td></td><tdclass=PTypePrefixnowrap></td><tdclass=PTypenowrap>int </td><tdclass=PParameterPrefixnowrap></td><tdclass=PParameternowrap>max_width</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>TODO</p><h4class=CHeading>Arguments</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>arg1</td><tdclass=CDLDescription>desc</td></tr></table><h4class=CHeading>Returns</h4><p>returns the number of lines written See Also: <other_func></p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="gfx_get_video_modes"></a>gfx_get_video_modes</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>int gfx_get_video_modes(</td><tdclass=PTypenowrap>VIDEO_MODE </td><tdclass=PParameterPrefixnowrap>*</td><tdclass=PParameternowrap>list,</td></tr><tr><td></td><tdclass=PTypenowrap>int </td><tdclass=PParameterPrefixnowrap></td><tdclass=PParameternowrap>maxcount</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Fetches a list of all the available video modes.</p><h4class=CHeading>Arguments</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>list</td><tdclass=CDLDescription>An array to recive the modes. Must be able to contain maxcount number of modes.</td></tr><tr><tdclass=CDLEntry>maxcount</td><tdclass=CDLDescription>The maximum number of modes to fetch.</td></tr></table><h4class=CHeading>Returns</h4><p>The number of video modes that was fetched.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="gfx_load_png"></a>gfx_load_png</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>int gfx_load_png(</td><tdclass=PTypePrefixnowrap></td><tdclass=PTypenowrap>IMAGE_INFO </td><tdclass=PParameterPrefixnowrap>*</td><tdclass=PParameternowrap>img,</td></tr><tr><td></td><tdclass=PTypePrefixnowrap>const </td><tdclass=PTypenowrap>char </td><tdclass=PParameterPrefixnowrap>*</td><tdclass=PParameternowrap>filename</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Loads a PNG image from disk.</p><h4class=CHeading>Arguments</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>img</td><tdclass=CDLDescription>Pointer to an structure to be filled out with the image information.</td></tr><tr><tdclass=CDLEntry>filename</td><tdclass=CDLDescription>Filename of the image to load.</td></tr></table><h4class=CHeading>Returns</h4><p>Returns non-zero on success and zero on error.</p><h4class=CHeading>Remarks</h4><p>The caller are responsible for cleaning up the allocated memory in the IMAGE_INFO structure.</p><h4class=CHeading>See Also</h4><p><ahref="#gfx_load_texture"class=LFunctionid=link94onMouseOver="ShowTip(event, 'tt24', 'link94')"onMouseOut="HideTip('tt24')">gfx_load_texture</a></p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="gfx_load_texture"></a>gfx_load_texture</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>int gfx_load_texture(</td><tdclass=PTypePrefixnowrap>const </td><tdclass=PTypenowrap>char </td><tdclass=PParameterPrefixnowrap>*</td><tdclass=PParameternowrap>filename,</td></tr><tr><td></td><tdclass=PTypePrefixnowrap></td><tdclass=PTypenowrap>int </td><tdclass=PParameterPrefixnowrap></td><tdclass=PParameternowrap>store_format,</td></tr><tr><td></td><tdclass=PTypePrefixnowrap></td><tdclass=PTypenowrap>int </td><tdclass=PParameterPrefixnowrap></td><tdclass=PParameternowrap>flags</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Loads a texture from a file. TGA and PNG supported.</p><h4class=CHeading>Arguments</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>filename</td><tdclass=CDLDescription>Null terminated string to the file to load.</td></tr><tr><tdclass=CDLEntry>store_format</td><tdclass=CDLDescription>What format to store on gfx card as.</td></tr><tr><tdclass=CDLEntry>flags</td><tdclass=CDLDescription>controls how the texture is uploaded</td></tr></table><h4class=CHeading>Returns</h4><p>An ID to the texture. -1 on failure.</p><h4class=CHeading>See Also</h4><p><gfx_unload_texture, gfx_load_png></p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="gfx_load_texture_raw"></a>gfx_load_texture_raw</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>int gfx_load_texture_raw(</td><tdclass=PTypePrefixnowrap></td><tdclass=PTypenowrap>int </td><tdclass=PParameterPrefixnowrap></td><tdclass=PParameternowrap>w,</td></tr><tr><td></td><tdclass=PTypePrefixnowrap></td><tdclass=PTypenowrap>int </td><tdclass=PParameterPrefixnowrap></td><tdclass=PParameternowrap>h,</td></tr><tr><td></td><tdclass=PTypePrefixnowrap></td><tdclass=PTypenowrap>int </td><tdclass=PParameterPrefixnowrap></td><tdclass=PParameternowrap>format,</td></tr><tr><td></td><tdclass=PTypePrefixnowrap>const </td><tdclass=PTypenowrap>void </td><tdclass=PParameterPrefixnowrap>*</td><tdclass=PParameternowrap>data,</td></tr><tr><td></td><tdclass=PTypePrefixnowrap></td><tdclass=PTypenowrap>int </td><tdclass=PParameterPrefixnowrap></td><tdclass=PParameternowrap>store_format,</td></tr><tr><td></td><tdclass=PTypePrefixnowrap></td><tdclass=PTypenowrap>int </td><tdclass=PParameterPrefixnowrap></td><tdclass=PParameternowrap>flags</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Loads a texture from memory.</p><h4class=CHeading>Arguments</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>w</td><tdclass=CDLDescription>Width of the texture.</td></tr><tr><tdclass=CDLEntry>h</td><tdclass=CDLDescription>Height of the texture.</td></tr><tr><tdclass=CDLEntry>data</td><tdclass=CDLDescription>Pointer to the pixel data.</td></tr><tr><tdclass=CDLEntry>format</td><tdclass=CDLDescription>Format of the pixel data.</td></tr><tr><tdclass=CDLEntry>store_format</td><tdclass=CDLDescription>The format to store the texture on the graphics card.</td></tr><tr><tdclass=CDLEntry>flags</td><tdclass=CDLDescription>controls how the texture is uploaded</td></tr></table><h4class=CHeading>Returns</h4><p>An ID to the texture. -1 on failure.</p><h4class=CHeading>Remarks</h4><p>The pixel data should be in RGBA format with 8 bit per component. So the total size of the data should be w*h*4.</p><h4class=CHeading>See Also</h4><p><ahref="#gfx_unload_texture"class=LFunctionid=link95onMouseOver="ShowTip(event, 'tt27', 'link95')"onMouseOut="HideTip('tt27')">gfx_unload_texture</a></p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="gfx_texture_set"></a>gfx_texture_set</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void gfx_texture_set(</td><tdclass=PTypenowrap>int </td><tdclass=PParameternowrap>id</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the active texture.</p><h4class=CHeading>Arguments</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>id</td><tdclass=CDLDescription>ID to the texture to set.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="gfx_unload_texture"></a>gfx_unload_texture</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>int gfx_unload_texture(</td><tdclass=PTypenowrap>int </td><tdclass=PParameternowrap>id</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Unloads a texture.</p><h4class=CHeading>Arguments</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>id</td><tdclass=CDLDescription>ID to the texture to unload.</td></tr></table><h4class=CHeading>See Also</h4><p><gfx_load_texture_tga>, <ahref="#gfx_load_texture_raw"class=LFunctionid=link96onMouseOver="ShowTip(event, 'tt25', 'link96')"onMouseOut="HideTip('tt25')">gfx_load_texture_raw</a></p><h4class=CHeading>Remarks</h4><p>NOT IMPLEMENTED</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="gfx_clear"></a>gfx_clear</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void gfx_clear(</td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>r,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>g,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>b</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Clears the screen with the specified color.</p><h4class=CHeading>Arguments</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>r</td><tdclass=CDLDescription>Red component.</td></tr><tr><tdclass=CDLEntry>g</td><tdclass=CDLDescription>Green component.</td></tr><tr><tdclass=CDLEntry>b</td><tdclass=CDLDescription>Red component.</td></tr></table><h4class=CHeading>Remarks</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>The value of the components are given in 0.0</td><tdclass=CDLDescription>1.0 ranges.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="gfx_screenaspect"></a>gfx_screenaspect</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>float gfx_screenaspect()</td></tr></table></blockquote><p>Returns the aspect ratio between width and height.</p><h4class=CHeading>See Also</h4><p><ahref="#gfx_screenwidth"class=LFunctionid=link97onMouseOver="ShowTip(event, 'tt30', 'link97')"onMouseOut="HideTip('tt30')">gfx_screenwidth</a>, <ahref="#gfx_screenheight"class=LFunctionid=link98onMouseOver="ShowTip(event, 'tt31', 'link98')"onMouseOut="HideTip('tt31')">gfx_screenheight</a></p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="gfx_mapscreen"></a>gfx_mapscreen</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void gfx_mapscreen(</td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>tl_x,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>tl_y,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>br_x,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>br_y</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Specifies the coordinate system for the screen.</p><h4class=CHeading>Arguments</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>tl_x</td><tdclass=CDLDescription>Top-left X</td></tr><tr><tdclass=CDLEntry>tl_y</td><tdclass=CDLDescription>Top-left Y</td></tr><tr><tdclass=CDLEntry>br_x</td><tdclass=CDLDescription>Bottom-right X</td></tr><tr><tdclass=CDLEntry>br_y</td><tdclass=CDLDescription>Bottom-right y</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="gfx_blend_normal"></a>gfx_blend_normal</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>void gfx_blend_normal()</td></tr></table></blockquote><p>Set the active blending mode to normal (src, 1-src).</p><h4class=CHeading>Remarks</h4><p>This must be used before calling <ahref="#gfx_quads_begin"class=LFunctionid=link101onMouseOver="ShowTip(event, 'tt5', 'link101')"onMouseOut="HideTip('tt5')">gfx_quads_begin</a>. This is equal to glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA).</p><h4class=CHeading>See Also</h4><p><gfx_blend_additive,gfx_blend_none></p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="gfx_blend_additive"></a>gfx_blend_additive</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>void gfx_blend_additive()</td></tr></table></blockquote><p>Set the active blending mode to additive (src, one).</p><h4class=CHeading>Remarks</h4><p>This must be used before calling <ahref="#gfx_quads_begin"class=LFunctionid=link102onMouseOver="ShowTip(event, 'tt5', 'link102')"onMouseOut="HideTip('tt5')">gfx_quads_begin</a>. This is equal to glBlendFunc(GL_SRC_ALPHA, GL_ONE).</p><h4class=CHeading>See Also</h4><p><gfx_blend_normal,gfx_blend_none></p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="gfx_blend_none"></a>gfx_blend_none</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>void gfx_blend_none()</td></tr></table></blockquote><p>Disables blending</p><h4class=CHeading>Remarks</h4><p>This must be used before calling <ahref="#gfx_quads_begin"class=LFunctionid=link103onMouseOver="ShowTip(event, 'tt5', 'link103')"onMouseOut="HideTip('tt5')">gfx_quads_begin</a>.</p><h4class=CHeading>See Also</h4><p><gfx_blend_normal,gfx_blend_additive></p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="gfx_setcolorvertex"></a>gfx_setcolorvertex</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void gfx_setcolorvertex(</td><tdclass=PTypenowrap>int </td><tdclass=PParameternowrap>i,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>r,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>g,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>b,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>a</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the color of a vertex.</p><h4class=CHeading>Arguments</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>i</td><tdclass=CDLDescription>Index to the vertex.</td></tr><tr><tdclass=CDLEntry>r</td><tdclass=CDLDescription>Red value.</td></tr><tr><tdclass=CDLEntry>g</td><tdclass=CDLDescription>Green value.</td></tr><tr><tdclass=CDLEntry>b</td><tdclass=CDLDescription>Blue value.</td></tr><tr><tdclass=CDLEntry>a</td><tdclass=CDLDescription>Alpha value.</td></tr></table><h4class=CHeading>Remarks</h4><p>The color values are from 0.0 to 1.0. The color is reset when <ahref="#gfx_quads_begin"class=LFunctionid=link104onMouseOver="ShowTip(event, 'tt5', 'link104')"onMouseOut="HideTip('tt5')">gfx_quads_begin</a> is called.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="gfx_setcolor"></a>gfx_setcolor</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void gfx_setcolor(</td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>r,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>g,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>b,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>a</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the color of all the vertices.</p><h4class=CHeading>Arguments</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>r</td><tdclass=CDLDescription>Red value.</td></tr><tr><tdclass=CDLEntry>g</td><tdclass=CDLDescription>Green value.</td></tr><tr><tdclass=CDLEntry>b</td><tdclass=CDLDescription>Blue value.</td></tr><tr><tdclass=CDLEntry>a</td><tdclass=CDLDescription>Alpha value.</td></tr></table><h4class=CHeading>Remarks</h4><p>The color values are from 0.0 to 1.0. The color is reset when <ahref="#gfx_quads_begin"class=LFunctionid=link105onMouseOver="ShowTip(event, 'tt5', 'link105')"onMouseOut="HideTip('tt5')">gfx_quads_begin</a> is called.</p></div></div></div>
<divclass=CToolTipid="tt1"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>int width</td></tr></table></blockquote>Contains the width of the image</div></div><divclass=CToolTipid="tt2"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>int height</td></tr></table></blockquote>Contains the height of the image</div></div><divclass=CToolTipid="tt3"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>int format</td></tr></table></blockquote>Contains the format of the image. </div></div><divclass=CToolTipid="tt4"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>void *data</td></tr></table></blockquote>Pointer to the image data.</div></div><divclass=CToolTipid="tt5"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>void gfx_quads_begin()</td></tr></table></blockquote>Begins a quad drawing session.</div></div><divclass=CToolTipid="tt6"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>void gfx_quads_end()</td></tr></table></blockquote>Ends a quad session.</div></div><divclass=CToolTipid="tt7"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void gfx_quads_setrotation(</td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>angle</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Sets the rotation to use when drawing a quad.</div></div><divclass=CToolTipid="tt8"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void gfx_quads_setsubset(</td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>tl_u,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>tl_v,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>br_u,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>br_v</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Sets the uv coordinates to use.</div></div><divclass=CToolTipid="tt9"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void gfx_quads_setsubset_free(</td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>x0,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>y0,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>x1,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>y1,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>x2,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>y2,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>x3,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>y3</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>TODO</div></div><divclass=CToolTipid="tt10"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void gfx_quads_drawTL(</td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>x,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>y,</td></tr><tr><td></td><tdclass=PTypenowrap>float </td><tdclass=PParameternowrap>width,</td></tr><tr><td></td><tdclass=PType