| 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_SetDrawColor</title> |
| 8 |
</head> |
| 9 |
<body text="#000000" bgcolor="#f0f0dc" link="#3366FF" vlink="#3366FF" alink="#FF0000"> |
| 10 |
|
| 11 |
<a href="kxltextwidth.html">Prev</a> |
| 12 |
<a href="KXL.html">Top</a> |
| 13 |
<a href="kxldrawpoint.html">Next</a> |
| 14 |
<hr> |
| 15 |
|
| 16 |
<b>Name</b><br><br> |
| 17 |
<font size=+2>KXL_SetDrawColor</font><br><br> |
| 18 |
|
| 19 |
<b>Synopsis</b><br> |
| 20 |
<pre>KXL_SetDrawColor -- A point, a line, and the color at the time of a frame clearance are set up.</pre><br> |
| 21 |
|
| 22 |
<b>Description</b><br> |
| 23 |
<pre>void KXL_SetDrawColor(Uint8 red, Uint8 green Uint8 blue);</pre><br> |
| 24 |
|
| 25 |
<b>Arguments</b><br><br> |
| 26 |
<table border="1"> |
| 27 |
<tr><td>red</td><td>Red luminosity.</td></tr> |
| 28 |
<tr><td>green</td><td>Green luminosity.</td></tr> |
| 29 |
<tr><td>blue</td><td>Blue luminosity.</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 <KXL.h> |
| 40 |
|
| 41 |
int main(void) |
| 42 |
{ |
| 43 |
KXL_CreateWindow(100, 100, "sample", 0); |
| 44 |
<b>KXL_SetDrawColor(0x55, 0xee, 0x88);</b> |
| 45 |
KXL_DrawRectangle(30, 30, 30, 30, True); |
| 46 |
KXL_UpDateImm(0, 0, 100, 100); |
| 47 |
getchar(); |
| 48 |
KXL_DeleteWindow(); |
| 49 |
return 0; |
| 50 |
} |
| 51 |
</pre> |
| 52 |
|
| 53 |
</body> |
| 54 |
</html> |