1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
<!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_PutText</title>
</head>
<body text="#000000" bgcolor="#f0f0dc" link="#3366FF" vlink="#3366FF" alink="#FF0000">
<a href="kxlfont.html">Prev</a>
<a href="KXL.html">Top</a>
<a href="kxltextwidth.html">Next</a>
<hr>
<b>Name</b><br><br>
<font size=+2>KXL_PutText</font><br><br>
<b>Synopsis</b><br>
<pre>KXL_PutText -- A text is drawn.</pre><br>
<b>Description</b><br>
<pre>void KXL_PutText(Sint16 left, Uint16 top, Uint8 *text);</pre><br>
<b>Arguments</b><br><br>
<table border="1">
<tr><td>left</td><td>Left position which draws.</td>
<tr><td>top</td><td>Top position which draws.</td>
<tr><td>text</td><td>Text which draws.</td>
</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);
KXL_Font(NULL, 0xff, 0x00, 0x00);
<b>KXL_PutText(20, 20, "Sample");</b>
KXL_UpDateImm(0, 0, 100, 100);
getchar();
KXL_DeleteWindow();
return 0;
}
</pre>
</body>
</html>
|