Debian Codegraph @

docs/kxlclearframerect.html

raw
1 <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=euc-jp">
5 <meta name="GENERATOR" content="emacs">
6 <meta name="Author" content="kacchan">
7 <title>KXL_ClearFrameRect</title>
8 </head>
9 <body text="#000000" bgcolor="#f0f0dc" link="#3366FF" vlink="#3366FF" alink="#FF0000">
10
11 <a href="kxlupdate.html">Prev</a>
12 <a href="KXL.html">Top</a>
13 <a href="kxlclearframeimm.html">Next</a>
14 <hr>
15
16 <b>Name</b><br><br>
17 <font size=+2>KXL_ClearFrameRect</font><br><br>
18
19 <b>Synopsis</b><br>
20 <pre>KXL_ClearFrameRect -- Rectangles with an arbitrary frame are cleared.
21 It clears by the color set up by <a href="./kxlsetdrawcolor.html">KXL_SetDrawColor.</a>
22 </pre><br>
23
24 <b>Description</b><br>
25 <pre>void KXL_ClearFrameRect(KXL_Rect rect);</pre><br>
26
27 <b>Arguments</b><br><br>
28 <table border="1">
29 <tr><td>rect</td><td>KXL_Rect structure.</td></tr>
30 </table>
31 <br><br>
32
33 <b>Return Value</b><br><br>
34 Nothing.
35 <br><br><br>
36
37 <b>Exsample</b><br>
38 <pre>
39 #include &lt;KXL.h&gt;
40
41 int main(void)
42 {
43 KXL_Rect rect = {0, 0, 100, 100};
44
45 KXL_CreateWindow(rect.Width, rect.Height, "sample", 0);
46 KXL_SetDrawColor(0xff, 0x00, 0x00);
47 KXL_DrawRectangle(30, 30, 30, 30, True);
48 KXL_UpDateRect(rect);
49 getchar();
50 <b>KXL_ClearFrameRect(rect);</b>
51 KXL_UpDateRect(rect);
52 getchar();
53 KXL_DeleteWindow();
54 return 0;
55 }
56 </pre>
57
58 </body>
59 </html>