summaryrefslogtreecommitdiffstats
path: root/gbdk/docs/api/drawing_8h.html
diff options
context:
space:
mode:
Diffstat (limited to 'gbdk/docs/api/drawing_8h.html')
-rw-r--r--gbdk/docs/api/drawing_8h.html901
1 files changed, 901 insertions, 0 deletions
diff --git a/gbdk/docs/api/drawing_8h.html b/gbdk/docs/api/drawing_8h.html
new file mode 100644
index 00000000..5e95e232
--- /dev/null
+++ b/gbdk/docs/api/drawing_8h.html
@@ -0,0 +1,901 @@
+<!-- HTML header for doxygen 1.8.14-->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="cache-control" content="max-age=86400"/>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.20"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>GBDK 2020 Docs: gb/drawing.h File Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="navtree.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="resize.js"></script>
+<script type="text/javascript" src="navtreedata.js"></script>
+<script type="text/javascript" src="navtree.js"></script>
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="search/searchdata.js"></script>
+<script type="text/javascript" src="search/search.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+<link href="doxygen_extra.css" rel="stylesheet" type="text/css"/>
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">GBDK 2020 Docs
+ &#160;<span id="projectnumber">4.0.6</span>
+ </div>
+ <div id="projectbrief">API Documentation for GBDK 2020</div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.20 -->
+<script type="text/javascript">
+/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
+/* @license-end */
+</script>
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
+$(function() {
+ initMenu('',true,false,'search.php','Search');
+ $(document).ready(function() { init_search(); });
+});
+/* @license-end */</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div id="side-nav" class="ui-resizable side-nav-resizable">
+ <div id="nav-tree">
+ <div id="nav-tree-contents">
+ <div id="nav-sync" class="sync"></div>
+ </div>
+ </div>
+ <div id="splitbar" style="-moz-user-select:none;"
+ class="ui-resizable-handle">
+ </div>
+</div>
+<script type="text/javascript">
+/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
+$(document).ready(function(){initNavTree('drawing_8h.html',''); initResizable(); });
+/* @license-end */
+</script>
+<div id="doc-content">
+<!-- window showing the filter options -->
+<div id="MSearchSelectWindow"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
+</div>
+
+<!-- iframe showing the search results (closed by default) -->
+<div id="MSearchResultsWindow">
+<iframe src="javascript:void(0)" frameborder="0"
+ name="MSearchResults" id="MSearchResults">
+</iframe>
+</div>
+
+<div class="header">
+ <div class="summary">
+<a href="#define-members">Macros</a> &#124;
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">drawing.h File Reference</div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock"><code>#include &lt;types.h&gt;</code><br />
+<code>#include &lt;<a class="el" href="stdint_8h_source.html">stdint.h</a>&gt;</code><br />
+</div>
+<p><a href="drawing_8h_source.html">Go to the source code of this file.</a></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
+Macros</h2></td></tr>
+<tr class="memitem:a9a07c448b4d721dbec2715f51727e099"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="drawing_8h.html#a9a07c448b4d721dbec2715f51727e099">GRAPHICS_WIDTH</a>&#160;&#160;&#160;160</td></tr>
+<tr class="separator:a9a07c448b4d721dbec2715f51727e099"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:aa9909ac8ecb03cbb763258a8f98f4170"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="drawing_8h.html#aa9909ac8ecb03cbb763258a8f98f4170">GRAPHICS_HEIGHT</a>&#160;&#160;&#160;144</td></tr>
+<tr class="separator:aa9909ac8ecb03cbb763258a8f98f4170"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:aa8abfd58ea514228abd69d8f6330e91d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="drawing_8h.html#aa8abfd58ea514228abd69d8f6330e91d">SOLID</a>&#160;&#160;&#160;0x00 /* Overwrites the existing pixels */</td></tr>
+<tr class="separator:aa8abfd58ea514228abd69d8f6330e91d"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a3363ca4d6d3cc0230b2804280591c991"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="drawing_8h.html#a3363ca4d6d3cc0230b2804280591c991">OR</a>&#160;&#160;&#160;0x01 /* Performs a logical OR */</td></tr>
+<tr class="separator:a3363ca4d6d3cc0230b2804280591c991"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a45cd11034d1a7d86c3a88d36f5e7f1ab"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="drawing_8h.html#a45cd11034d1a7d86c3a88d36f5e7f1ab">XOR</a>&#160;&#160;&#160;0x02 /* Performs a logical XOR */</td></tr>
+<tr class="separator:a45cd11034d1a7d86c3a88d36f5e7f1ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:acd1b97556dfbbac61063a63031d2f91d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="drawing_8h.html#acd1b97556dfbbac61063a63031d2f91d">AND</a>&#160;&#160;&#160;0x03 /* Performs a logical AND */</td></tr>
+<tr class="separator:acd1b97556dfbbac61063a63031d2f91d"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a87b537f5fa5c109d3c05c13d6b18f382"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="drawing_8h.html#a87b537f5fa5c109d3c05c13d6b18f382">WHITE</a>&#160;&#160;&#160;0</td></tr>
+<tr class="separator:a87b537f5fa5c109d3c05c13d6b18f382"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a0ffe2221c8690dc80b5f9553474dd096"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="drawing_8h.html#a0ffe2221c8690dc80b5f9553474dd096">LTGREY</a>&#160;&#160;&#160;1</td></tr>
+<tr class="separator:a0ffe2221c8690dc80b5f9553474dd096"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a4dad87d91b9201be3b4ede372f31ae8a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="drawing_8h.html#a4dad87d91b9201be3b4ede372f31ae8a">DKGREY</a>&#160;&#160;&#160;2</td></tr>
+<tr class="separator:a4dad87d91b9201be3b4ede372f31ae8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a7b3b25cba33b07c303f3060fe41887f6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="drawing_8h.html#a7b3b25cba33b07c303f3060fe41887f6">BLACK</a>&#160;&#160;&#160;3</td></tr>
+<tr class="separator:a7b3b25cba33b07c303f3060fe41887f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a91d52443c77ee105bd68cb0b47a8ee49"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="drawing_8h.html#a91d52443c77ee105bd68cb0b47a8ee49">M_NOFILL</a>&#160;&#160;&#160;0</td></tr>
+<tr class="separator:a91d52443c77ee105bd68cb0b47a8ee49"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:aad3d180e0f12d6a6e5278fe0163f4c3e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="drawing_8h.html#aad3d180e0f12d6a6e5278fe0163f4c3e">M_FILL</a>&#160;&#160;&#160;1</td></tr>
+<tr class="separator:aad3d180e0f12d6a6e5278fe0163f4c3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a4dec4d9b2bace4f5bc6e6337f4086837"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="drawing_8h.html#a4dec4d9b2bace4f5bc6e6337f4086837">SIGNED</a>&#160;&#160;&#160;1</td></tr>
+<tr class="separator:a4dec4d9b2bace4f5bc6e6337f4086837"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a08cbc66092284f7da94279f986a0aae9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="drawing_8h.html#a08cbc66092284f7da94279f986a0aae9">UNSIGNED</a>&#160;&#160;&#160;0</td></tr>
+<tr class="separator:a08cbc66092284f7da94279f986a0aae9"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:aef65e5faa0adb82768fca06aafbe50e8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="drawing_8h.html#aef65e5faa0adb82768fca06aafbe50e8">gprint</a> (char *str) <a class="el" href="asm_2types_8h.html#a7ed081d8dfb6902784b2fc730bbb7f96">NONBANKED</a></td></tr>
+<tr class="separator:aef65e5faa0adb82768fca06aafbe50e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:afeb7c0a887fe3d18659175de77a787a5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="drawing_8h.html#afeb7c0a887fe3d18659175de77a787a5">gprintln</a> (<a class="el" href="stdint_8h.html#a66634143db08bebe9b46ab4cb1fc6fd3">int16_t</a> number, <a class="el" href="stdint_8h.html#aef44329758059c91c76d334e8fc09700">int8_t</a> radix, <a class="el" href="stdint_8h.html#aef44329758059c91c76d334e8fc09700">int8_t</a> signed_value) <a class="el" href="asm_2types_8h.html#a7ed081d8dfb6902784b2fc730bbb7f96">NONBANKED</a></td></tr>
+<tr class="separator:afeb7c0a887fe3d18659175de77a787a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a9d70278d1d09fdc24ea6bd9788dbd96a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="drawing_8h.html#a9d70278d1d09fdc24ea6bd9788dbd96a">gprintn</a> (<a class="el" href="stdint_8h.html#aef44329758059c91c76d334e8fc09700">int8_t</a> number, <a class="el" href="stdint_8h.html#aef44329758059c91c76d334e8fc09700">int8_t</a> radix, <a class="el" href="stdint_8h.html#aef44329758059c91c76d334e8fc09700">int8_t</a> signed_value) <a class="el" href="asm_2types_8h.html#a7ed081d8dfb6902784b2fc730bbb7f96">NONBANKED</a></td></tr>
+<tr class="separator:a9d70278d1d09fdc24ea6bd9788dbd96a"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a5f7a0ed309f9526e9be285146559848c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="stdint_8h.html#aef44329758059c91c76d334e8fc09700">int8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="drawing_8h.html#a5f7a0ed309f9526e9be285146559848c">gprintf</a> (char *fmt,...) <a class="el" href="asm_2types_8h.html#a7ed081d8dfb6902784b2fc730bbb7f96">NONBANKED</a></td></tr>
+<tr class="separator:a5f7a0ed309f9526e9be285146559848c"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ac888c327137d7f00cb3af57af236602a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="drawing_8h.html#ac888c327137d7f00cb3af57af236602a">plot</a> (<a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> x, <a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> y, <a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> colour, <a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="el" href="sms_8h.html#a3ea524204d839377cf39842eec23e202">mode</a>) <a class="el" href="asm_2types_8h.html#a0971918860055db2e50dacea4da8f3bc">OLDCALL</a></td></tr>
+<tr class="separator:ac888c327137d7f00cb3af57af236602a"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a595c77bca15884c75fd85af84f373814"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="drawing_8h.html#a595c77bca15884c75fd85af84f373814">plot_point</a> (<a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> x, <a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> y) <a class="el" href="asm_2types_8h.html#a0971918860055db2e50dacea4da8f3bc">OLDCALL</a></td></tr>
+<tr class="separator:a595c77bca15884c75fd85af84f373814"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a7b8f466ecc6be62f6c034e52f05e957a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="drawing_8h.html#a7b8f466ecc6be62f6c034e52f05e957a">switch_data</a> (<a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> x, <a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> y, <a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *src, <a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *dst) <a class="el" href="asm_2types_8h.html#a0971918860055db2e50dacea4da8f3bc">OLDCALL</a></td></tr>
+<tr class="separator:a7b8f466ecc6be62f6c034e52f05e957a"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ab2c383d3e1541fae40cf5174e22166c6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="drawing_8h.html#ab2c383d3e1541fae40cf5174e22166c6">draw_image</a> (<a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *data) <a class="el" href="asm_2types_8h.html#a0971918860055db2e50dacea4da8f3bc">OLDCALL</a></td></tr>
+<tr class="separator:ab2c383d3e1541fae40cf5174e22166c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:afe0ad8959a2867c4b60829d065660f1b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="drawing_8h.html#afe0ad8959a2867c4b60829d065660f1b">line</a> (<a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> x1, <a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> y1, <a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> x2, <a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> y2) <a class="el" href="asm_2types_8h.html#a0971918860055db2e50dacea4da8f3bc">OLDCALL</a></td></tr>
+<tr class="separator:afe0ad8959a2867c4b60829d065660f1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ae1170230e5c9e61cc4321632e949e7ce"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="drawing_8h.html#ae1170230e5c9e61cc4321632e949e7ce">box</a> (<a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> x1, <a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> y1, <a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> x2, <a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> y2, <a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> style) <a class="el" href="asm_2types_8h.html#a0971918860055db2e50dacea4da8f3bc">OLDCALL</a></td></tr>
+<tr class="separator:ae1170230e5c9e61cc4321632e949e7ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ad46c3bdc38dfc9b70214693390d404cb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="drawing_8h.html#ad46c3bdc38dfc9b70214693390d404cb">circle</a> (<a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> x, <a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> y, <a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> radius, <a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> style) <a class="el" href="asm_2types_8h.html#a0971918860055db2e50dacea4da8f3bc">OLDCALL</a></td></tr>
+<tr class="separator:ad46c3bdc38dfc9b70214693390d404cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a1e268a46a8151f9cc3b7b40100123d09"><td class="memItemLeft" align="right" valign="top"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="drawing_8h.html#a1e268a46a8151f9cc3b7b40100123d09">getpix</a> (<a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> x, <a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> y) <a class="el" href="asm_2types_8h.html#a0971918860055db2e50dacea4da8f3bc">OLDCALL</a></td></tr>
+<tr class="separator:a1e268a46a8151f9cc3b7b40100123d09"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a9178e678a17cb08653600f435093ae2a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="drawing_8h.html#a9178e678a17cb08653600f435093ae2a">wrtchr</a> (char chr) <a class="el" href="asm_2types_8h.html#a0971918860055db2e50dacea4da8f3bc">OLDCALL</a></td></tr>
+<tr class="separator:a9178e678a17cb08653600f435093ae2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a2d6cbdc9528ec11ac54bd3dbe754ab74"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="drawing_8h.html#a2d6cbdc9528ec11ac54bd3dbe754ab74">gotogxy</a> (<a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> x, <a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> y) <a class="el" href="asm_2types_8h.html#a0971918860055db2e50dacea4da8f3bc">OLDCALL</a></td></tr>
+<tr class="separator:a2d6cbdc9528ec11ac54bd3dbe754ab74"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a9fa68d25be92836a1b08a5e610b4f32f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="drawing_8h.html#a9fa68d25be92836a1b08a5e610b4f32f">color</a> (<a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> forecolor, <a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> backcolor, <a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="el" href="sms_8h.html#a3ea524204d839377cf39842eec23e202">mode</a>) <a class="el" href="asm_2types_8h.html#a0971918860055db2e50dacea4da8f3bc">OLDCALL</a></td></tr>
+<tr class="separator:a9fa68d25be92836a1b08a5e610b4f32f"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock"><p>All Points Addressable (APA) mode drawing library.</p>
+<p>Drawing routines originally by Pascal Felber Legendary overhall by Jon Fuge <a href="#" onclick="location.href='mai'+'lto:'+'jon'+'ny'+'@q-'+'co'+'nti'+'nu'+'um.'+'de'+'mon'+'.c'+'o.u'+'k'; return false;">jonny<span style="display: none;">.nosp@m.</span>@q-c<span style="display: none;">.nosp@m.</span>ontin<span style="display: none;">.nosp@m.</span>uum.<span style="display: none;">.nosp@m.</span>demon<span style="display: none;">.nosp@m.</span>.co.<span style="display: none;">.nosp@m.</span>uk</a> Commenting by Michael Hope</p>
+<p>Note: The standard text <a class="el" href="stdio_8h.html#ab403fa700816f08631ba75bc536f74d4">printf()</a> and <a class="el" href="stdio_8h.html#a9bc92fb9f23c72a66d030d4028dda72d">putchar()</a> cannot be used in APA mode - use <a class="el" href="drawing_8h.html#a5f7a0ed309f9526e9be285146559848c">gprintf()</a> and <a class="el" href="drawing_8h.html#a9178e678a17cb08653600f435093ae2a">wrtchr()</a> instead.</p>
+<p>Note: Using drawing.h will cause it's custom VBL and LCD ISRs (<code>drawing_vbl</code> and <code>drawing_lcd</code>) to be installed. Changing the mode (<code>mode(M_TEXT_OUT);</code>) will cause them to be de-installed.</p>
+<p>The valid coordinate ranges are from (x,y) 0,0 to 159,143. There is no built-in clipping, so drawing outside valid coordinates will likely produce undesired results (wrapping/etc).</p>
+<hr />
+<p><b>Important note for the drawing API :</b></p>
+<p>The Game Boy graphics hardware is not well suited to frame-buffer style graphics such as the kind provided in <code>drawing.h</code>. Due to that, <b>most drawing functions (rectangles, circles, etc) will be slow</b> . When possible it's much faster and more efficient to work with the tiles and tile maps that the Game Boy hardware is built around. </p>
+</div><h2 class="groupheader">Macro Definition Documentation</h2>
+<a id="a9a07c448b4d721dbec2715f51727e099"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a9a07c448b4d721dbec2715f51727e099">&#9670;&nbsp;</a></span>GRAPHICS_WIDTH</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">#define GRAPHICS_WIDTH&#160;&#160;&#160;160</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Size of the screen in pixels </p>
+
+</div>
+</div>
+<a id="aa9909ac8ecb03cbb763258a8f98f4170"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aa9909ac8ecb03cbb763258a8f98f4170">&#9670;&nbsp;</a></span>GRAPHICS_HEIGHT</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">#define GRAPHICS_HEIGHT&#160;&#160;&#160;144</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="aa8abfd58ea514228abd69d8f6330e91d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aa8abfd58ea514228abd69d8f6330e91d">&#9670;&nbsp;</a></span>SOLID</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">#define SOLID&#160;&#160;&#160;0x00 /* Overwrites the existing pixels */</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a3363ca4d6d3cc0230b2804280591c991"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a3363ca4d6d3cc0230b2804280591c991">&#9670;&nbsp;</a></span>OR</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">#define OR&#160;&#160;&#160;0x01 /* Performs a logical OR */</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a45cd11034d1a7d86c3a88d36f5e7f1ab"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a45cd11034d1a7d86c3a88d36f5e7f1ab">&#9670;&nbsp;</a></span>XOR</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">#define XOR&#160;&#160;&#160;0x02 /* Performs a logical XOR */</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="acd1b97556dfbbac61063a63031d2f91d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#acd1b97556dfbbac61063a63031d2f91d">&#9670;&nbsp;</a></span>AND</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">#define AND&#160;&#160;&#160;0x03 /* Performs a logical AND */</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a87b537f5fa5c109d3c05c13d6b18f382"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a87b537f5fa5c109d3c05c13d6b18f382">&#9670;&nbsp;</a></span>WHITE</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">#define WHITE&#160;&#160;&#160;0</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Possible drawing colours </p>
+
+</div>
+</div>
+<a id="a0ffe2221c8690dc80b5f9553474dd096"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a0ffe2221c8690dc80b5f9553474dd096">&#9670;&nbsp;</a></span>LTGREY</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">#define LTGREY&#160;&#160;&#160;1</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a4dad87d91b9201be3b4ede372f31ae8a"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a4dad87d91b9201be3b4ede372f31ae8a">&#9670;&nbsp;</a></span>DKGREY</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">#define DKGREY&#160;&#160;&#160;2</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a7b3b25cba33b07c303f3060fe41887f6"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a7b3b25cba33b07c303f3060fe41887f6">&#9670;&nbsp;</a></span>BLACK</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">#define BLACK&#160;&#160;&#160;3</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a91d52443c77ee105bd68cb0b47a8ee49"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a91d52443c77ee105bd68cb0b47a8ee49">&#9670;&nbsp;</a></span>M_NOFILL</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">#define M_NOFILL&#160;&#160;&#160;0</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Possible fill styles for <a class="el" href="drawing_8h.html#ae1170230e5c9e61cc4321632e949e7ce">box()</a> and <a class="el" href="drawing_8h.html#ad46c3bdc38dfc9b70214693390d404cb">circle()</a> </p>
+
+</div>
+</div>
+<a id="aad3d180e0f12d6a6e5278fe0163f4c3e"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aad3d180e0f12d6a6e5278fe0163f4c3e">&#9670;&nbsp;</a></span>M_FILL</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">#define M_FILL&#160;&#160;&#160;1</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a4dec4d9b2bace4f5bc6e6337f4086837"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a4dec4d9b2bace4f5bc6e6337f4086837">&#9670;&nbsp;</a></span>SIGNED</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">#define SIGNED&#160;&#160;&#160;1</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Possible values for signed_value in <a class="el" href="drawing_8h.html#afeb7c0a887fe3d18659175de77a787a5">gprintln()</a> and <a class="el" href="drawing_8h.html#a9d70278d1d09fdc24ea6bd9788dbd96a">gprintn()</a> </p>
+
+</div>
+</div>
+<a id="a08cbc66092284f7da94279f986a0aae9"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a08cbc66092284f7da94279f986a0aae9">&#9670;&nbsp;</a></span>UNSIGNED</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">#define UNSIGNED&#160;&#160;&#160;0</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="aef65e5faa0adb82768fca06aafbe50e8"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aef65e5faa0adb82768fca06aafbe50e8">&#9670;&nbsp;</a></span>gprint()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void gprint </td>
+ <td>(</td>
+ <td class="paramtype">char *&#160;</td>
+ <td class="paramname"><em>str</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Print the string 'str' with no interpretation </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="drawing_8h.html#a2d6cbdc9528ec11ac54bd3dbe754ab74">gotogxy()</a> </dd></dl>
+
+</div>
+</div>
+<a id="afeb7c0a887fe3d18659175de77a787a5"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#afeb7c0a887fe3d18659175de77a787a5">&#9670;&nbsp;</a></span>gprintln()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void gprintln </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#a66634143db08bebe9b46ab4cb1fc6fd3">int16_t</a>&#160;</td>
+ <td class="paramname"><em>number</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aef44329758059c91c76d334e8fc09700">int8_t</a>&#160;</td>
+ <td class="paramname"><em>radix</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aef44329758059c91c76d334e8fc09700">int8_t</a>&#160;</td>
+ <td class="paramname"><em>signed_value</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Print 16 bit <b>number</b> in <b>radix</b> (base) in the default font at the current text position.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">number</td><td>number to print </td></tr>
+ <tr><td class="paramname">radix</td><td>radix (base) to print with </td></tr>
+ <tr><td class="paramname">signed_value</td><td>should be set to SIGNED or UNSIGNED depending on whether the number is signed or not</td></tr>
+ </table>
+ </dd>
+</dl>
+<p>The current position is advanced by the numer of characters printed. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="drawing_8h.html#a2d6cbdc9528ec11ac54bd3dbe754ab74">gotogxy()</a> </dd></dl>
+
+</div>
+</div>
+<a id="a9d70278d1d09fdc24ea6bd9788dbd96a"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a9d70278d1d09fdc24ea6bd9788dbd96a">&#9670;&nbsp;</a></span>gprintn()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void gprintn </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aef44329758059c91c76d334e8fc09700">int8_t</a>&#160;</td>
+ <td class="paramname"><em>number</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aef44329758059c91c76d334e8fc09700">int8_t</a>&#160;</td>
+ <td class="paramname"><em>radix</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aef44329758059c91c76d334e8fc09700">int8_t</a>&#160;</td>
+ <td class="paramname"><em>signed_value</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Print 8 bit <b>number</b> in <b>radix</b> (base) in the default font at the current text position.</p>
+<dl class="section see"><dt>See also</dt><dd><a class="el" href="drawing_8h.html#afeb7c0a887fe3d18659175de77a787a5">gprintln()</a>, <a class="el" href="drawing_8h.html#a2d6cbdc9528ec11ac54bd3dbe754ab74">gotogxy()</a> </dd></dl>
+
+</div>
+</div>
+<a id="a5f7a0ed309f9526e9be285146559848c"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a5f7a0ed309f9526e9be285146559848c">&#9670;&nbsp;</a></span>gprintf()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="stdint_8h.html#aef44329758059c91c76d334e8fc09700">int8_t</a> gprintf </td>
+ <td>(</td>
+ <td class="paramtype">char *&#160;</td>
+ <td class="paramname"><em>fmt</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">&#160;</td>
+ <td class="paramname"><em>...</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Print the string and arguments given by <b>fmt</b> with arguments __...__</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">fmt</td><td>The format string as per printf </td></tr>
+ <tr><td class="paramname">...</td><td>params</td></tr>
+ </table>
+ </dd>
+</dl>
+<p>Currently supported: </p><ul>
+<li>%c (character) </li>
+<li>%u (int) </li>
+<li>%d (int8_t) </li>
+<li>%o (int8_t as octal) </li>
+<li>%x (int8_t as hex) </li>
+<li>%s (string)</li>
+</ul>
+<dl class="section return"><dt>Returns</dt><dd>Returns the number of items printed, or -1 if there was an error. </dd></dl>
+<dl class="section see"><dt>See also</dt><dd><a class="el" href="drawing_8h.html#a2d6cbdc9528ec11ac54bd3dbe754ab74">gotogxy()</a> </dd></dl>
+
+</div>
+</div>
+<a id="ac888c327137d7f00cb3af57af236602a"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ac888c327137d7f00cb3af57af236602a">&#9670;&nbsp;</a></span>plot()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void plot </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
+ <td class="paramname"><em>x</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
+ <td class="paramname"><em>y</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
+ <td class="paramname"><em>colour</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
+ <td class="paramname"><em>mode</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Old style plot - try <a class="el" href="drawing_8h.html#a595c77bca15884c75fd85af84f373814">plot_point()</a> </p>
+
+</div>
+</div>
+<a id="a595c77bca15884c75fd85af84f373814"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a595c77bca15884c75fd85af84f373814">&#9670;&nbsp;</a></span>plot_point()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void plot_point </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
+ <td class="paramname"><em>x</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
+ <td class="paramname"><em>y</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Plot a point in the current drawing mode and colour at <b>x,y</b> </p>
+
+</div>
+</div>
+<a id="a7b8f466ecc6be62f6c034e52f05e957a"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a7b8f466ecc6be62f6c034e52f05e957a">&#9670;&nbsp;</a></span>switch_data()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void switch_data </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
+ <td class="paramname"><em>x</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
+ <td class="paramname"><em>y</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *&#160;</td>
+ <td class="paramname"><em>src</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *&#160;</td>
+ <td class="paramname"><em>dst</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Exchanges the tile on screen at x,y with the tile pointed by src, original tile is saved in dst. Both src and dst may be NULL - saving or copying to screen is not performed in this case. </p>
+
+</div>
+</div>
+<a id="ab2c383d3e1541fae40cf5174e22166c6"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ab2c383d3e1541fae40cf5174e22166c6">&#9670;&nbsp;</a></span>draw_image()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void draw_image </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *&#160;</td>
+ <td class="paramname"><em>data</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Draw a full screen image at <b>data</b> </p>
+
+</div>
+</div>
+<a id="afe0ad8959a2867c4b60829d065660f1b"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#afe0ad8959a2867c4b60829d065660f1b">&#9670;&nbsp;</a></span>line()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void line </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
+ <td class="paramname"><em>x1</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
+ <td class="paramname"><em>y1</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
+ <td class="paramname"><em>x2</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
+ <td class="paramname"><em>y2</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Draw a line in the current drawing mode and colour from <b>x1,y1</b> to <b>x2,y2</b> </p>
+
+</div>
+</div>
+<a id="ae1170230e5c9e61cc4321632e949e7ce"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ae1170230e5c9e61cc4321632e949e7ce">&#9670;&nbsp;</a></span>box()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void box </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
+ <td class="paramname"><em>x1</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
+ <td class="paramname"><em>y1</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
+ <td class="paramname"><em>x2</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
+ <td class="paramname"><em>y2</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
+ <td class="paramname"><em>style</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Draw a box (rectangle) with corners <b>x1,y1</b> and <b>x2,y2</b> using fill mode <b>style</b> (one of NOFILL or FILL) </p>
+
+</div>
+</div>
+<a id="ad46c3bdc38dfc9b70214693390d404cb"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ad46c3bdc38dfc9b70214693390d404cb">&#9670;&nbsp;</a></span>circle()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void circle </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
+ <td class="paramname"><em>x</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
+ <td class="paramname"><em>y</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
+ <td class="paramname"><em>radius</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
+ <td class="paramname"><em>style</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Draw a circle with centre at <b>x,y</b> and <b>radius</b> using fill mode <b>style</b> (one of NOFILL or FILL) </p>
+
+</div>
+</div>
+<a id="a1e268a46a8151f9cc3b7b40100123d09"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a1e268a46a8151f9cc3b7b40100123d09">&#9670;&nbsp;</a></span>getpix()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> getpix </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
+ <td class="paramname"><em>x</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
+ <td class="paramname"><em>y</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Returns the current colour of the pixel at <b>x,y</b> </p>
+
+</div>
+</div>
+<a id="a9178e678a17cb08653600f435093ae2a"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a9178e678a17cb08653600f435093ae2a">&#9670;&nbsp;</a></span>wrtchr()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void wrtchr </td>
+ <td>(</td>
+ <td class="paramtype">char&#160;</td>
+ <td class="paramname"><em>chr</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Prints the character <b>chr</b> in the default font at the current text position.</p>
+<p>The current position is advanced by 1 after the character is printed. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="drawing_8h.html#a2d6cbdc9528ec11ac54bd3dbe754ab74">gotogxy()</a> </dd></dl>
+
+</div>
+</div>
+<a id="a2d6cbdc9528ec11ac54bd3dbe754ab74"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a2d6cbdc9528ec11ac54bd3dbe754ab74">&#9670;&nbsp;</a></span>gotogxy()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void gotogxy </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
+ <td class="paramname"><em>x</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
+ <td class="paramname"><em>y</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Sets the current text position to <b>x,y</b>.</p>
+<p>Note: <b>x</b> and <b>y</b> have units of tiles (8 pixels per unit) </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="drawing_8h.html#a9178e678a17cb08653600f435093ae2a">wrtchr()</a> </dd></dl>
+
+</div>
+</div>
+<a id="a9fa68d25be92836a1b08a5e610b4f32f"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a9fa68d25be92836a1b08a5e610b4f32f">&#9670;&nbsp;</a></span>color()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void color </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
+ <td class="paramname"><em>forecolor</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
+ <td class="paramname"><em>backcolor</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
+ <td class="paramname"><em>mode</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Set the current <b>foreground</b> colour (for pixels), <b>background</b> colour, and draw <b>mode</b> </p>
+
+</div>
+</div>
+</div><!-- contents -->
+</div><!-- doc-content -->
+<!-- HTML footer for doxygen 1.8.14-->
+<!-- start footer part -->
+<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
+</div>
+</body>
+</html>