<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=euc-jp"> <meta name="GENERATOR" content="emacs"> <meta name="Author" content="kacchan"> <title>KXL_SetDrawColor</title> </head> <body text="#000000" bgcolor="#f0f0dc" link="#3366FF" vlink="#3366FF" alink="#FF0000"> <a href="kxltextwidth.html">Prev</a> <a href="KXL.html">Top</a> <a href="kxldrawpoint.html">Next</a> <hr> <b>Name</b><br><br> <font size=+2>KXL_SetDrawColor</font><br><br> <b>Synopsis</b><br> <pre>KXL_SetDrawColor -- A point, a line, and the color at the time of a frame clearance are set up.</pre><br> <b>Description</b><br> <pre>void KXL_SetDrawColor(Uint8 red, Uint8 green Uint8 blue);</pre><br> <b>Arguments</b><br><br> <table border="1"> <tr><td>red</td><td>Red luminosity.</td></tr> <tr><td>green</td><td>Green luminosity.</td></tr> <tr><td>blue</td><td>Blue luminosity.</td></tr> </table> <br><br> <b>Return Value</b><br><br> Nothing. <br><br><br> <b>Exsample</b><br> <pre> #include <KXL.h> int main(void) { KXL_CreateWindow(100, 100, "sample", 0); <b>KXL_SetDrawColor(0x55, 0xee, 0x88);</b> KXL_DrawRectangle(30, 30, 30, 30, True); KXL_UpDateImm(0, 0, 100, 100); getchar(); KXL_DeleteWindow(); return 0; } </pre> </body> </html>