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><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/demo/Overview.html">demo</a>::<a href="../../../nw/demo/GraphicsDrawing/Overview.html">GraphicsDrawing</a>::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);
21void DrawLine(
22     const math::VEC2 & p1,
23     const math::VEC2 & p2,
24     <a href="../../../nw/ut/Color8/Overview.html">ut::Color8</a> color
25);
26</pre>
27    </div>
28    <h2>List of Overloaded Member Functions</h2>
29    <div class="section">
30      <table class="members">
31        <tr>
32          <td>
33            <a href="./DrawLine(0).html">DrawRectangle(s32, s32, s32, s32, ut::Color8) </a>
34          </td>
35          <td>Draws a line. The CPU creates a vertex without using a line shader.</td>
36        </tr>
37        <tr>
38          <td>
39            <a href="./DrawLine(1).html">DrawLine(const math::VEC2 &, const math::VEC2 &, ut::Color8) </a>
40          </td>
41          <td>Draws a line. The CPU creates a vertex without using a line shader.</td>
42        </tr> </table>
43    </div>
44    <h2>Description of <CODE>DrawLine(s32, s32, s32, s32, ut::Color8)</CODE></h2>
45    <div class="section">
46      <p>Draws a line. The CPU creates a vertex without using a line shader.</p>
47    </div>
48    <h2>Description of <CODE>DrawLine(const math::VEC2 &, const math::VEC2 &, ut::Color8)</CODE></h2>
49    <div class="section">
50      <p>Draws a line. The CPU creates a vertex without using a line shader.</p>
51    </div>
52  <hr><p>CONFIDENTIAL</p></body>
53</html>
54