1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" />
7    <title>DrawLine</title>
8  </head>
9  <body>
10    <h1><CODE>nw::demo::GraphicsDrawing::DrawLine</CODE> Member Function</h1>
11    <h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14void DrawLine(
15     <span>s32</span> x1,
16     <span>s32</span> y1,
17     <span>s32</span> x2,
18     <span>s32</span> y2,
19     <a href="../../../nw/ut/Color8/Overview.html">ut::Color8</a> color
20);
21
22void DrawLine(
23     const math::VEC2 & p1,
24     const math::VEC2 & p2,
25     <a href="../../../nw/ut/Color8/Overview.html">ut::Color8</a> color
26);
27</pre>
28    </div>
29    <h2>List of Overloaded Member Functions</h2>
30    <div class="section">
31      <table class="members">
32        <tr>
33          <td>
34            <a href="./DrawLine(0).html">DrawRectangle(s32, s32, s32, s32, ut::Color8) </a>
35          </td>
36          <td>Draws a line. The CPU creates a vertex without using a line shader.</td>
37        </tr>
38        <tr>
39          <td>
40            <a href="./DrawLine(1).html">DrawLine(const math::VEC2 &, const math::VEC2 &, ut::Color8) </a>
41          </td>
42          <td>Draws a line. The CPU creates a vertex without using a line shader.</td>
43        </tr> </table>
44    </div>
45    <h2>Description of <CODE>DrawLine(s32, s32, s32, s32, ut::Color8)</CODE></h2>
46    <div class="section">
47      <p>Draws a line. The CPU creates a vertex without using a line shader.</p>
48    </div>
49    <h2>Description of <CODE>DrawLine(const math::VEC2 &, const math::VEC2 &, ut::Color8)</CODE></h2>
50    <div class="section">
51      <p>Draws a line. The CPU creates a vertex without using a line shader.</p>
52    </div>
53  <hr><p>CONFIDENTIAL</p></body>
54</html>