<!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="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Display Simple Graphics library: simplegfx.h File Reference</title>
<link href="html/tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="html/jquery.js"></script>
<script type="text/javascript" src="html/dynsections.js"></script>
<link href="html/doxygen.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="projectlogo"><img alt="Logo" src="html/ParallaxLogo-W534.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Display Simple Graphics library
   &#160;<span id="projectnumber">v0.5</span>
   </div>
   <div id="projectbrief">Library containing shape, text, and bitmap drawing functions called by various display drivers</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">simplegfx.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;simpletools.h&quot;</code><br />
</div>
<p><a href="html/simplegfx_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="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/structscreen__st.html">screen_st</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a09c78d2f8feb311dd9fc969a0bf84979"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a09c78d2f8feb311dd9fc969a0bf84979">SMALL</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:a09c78d2f8feb311dd9fc969a0bf84979"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a455b219d48b21108576f53129be38c32"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a455b219d48b21108576f53129be38c32">MEDIUM</a>&#160;&#160;&#160;2</td></tr>
<tr class="separator:a455b219d48b21108576f53129be38c32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac27c2124ca2aed651e06aba3a1468ecb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#ac27c2124ca2aed651e06aba3a1468ecb">LARGE</a>&#160;&#160;&#160;3</td></tr>
<tr class="separator:ac27c2124ca2aed651e06aba3a1468ecb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af33a0f1b7126ff5cacb1f5e866a25a19"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#af33a0f1b7126ff5cacb1f5e866a25a19">FONT_SANS</a>&#160;&#160;&#160;0</td></tr>
<tr class="separator:af33a0f1b7126ff5cacb1f5e866a25a19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15afcd30991bccb7394eab152e450ad1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a15afcd30991bccb7394eab152e450ad1">FONT_SERIF</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:a15afcd30991bccb7394eab152e450ad1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4e846aba2947067605fe41f15dddd82"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#ab4e846aba2947067605fe41f15dddd82">FONT_SCRIPT</a>&#160;&#160;&#160;2</td></tr>
<tr class="separator:ab4e846aba2947067605fe41f15dddd82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a676b75c9577c396b2180696212a17c30"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a676b75c9577c396b2180696212a17c30">FONT_BUBBLE</a>&#160;&#160;&#160;3</td></tr>
<tr class="separator:a676b75c9577c396b2180696212a17c30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05d5d21ee7709e6f172fcb4c8e9e2d8d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a05d5d21ee7709e6f172fcb4c8e9e2d8d">INTF_SPI_NO_BUFFER</a>&#160;&#160;&#160;0b00</td></tr>
<tr class="separator:a05d5d21ee7709e6f172fcb4c8e9e2d8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a856bc13253caa21d9333d373c361a99e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a856bc13253caa21d9333d373c361a99e">INTF_SPI_WITH_BUFFER</a>&#160;&#160;&#160;0b10</td></tr>
<tr class="separator:a856bc13253caa21d9333d373c361a99e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8968d79ad7cd9b0bf484600f2688e584"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a8968d79ad7cd9b0bf484600f2688e584">INTF_I2C_NO_BUFFER</a>&#160;&#160;&#160;0b01</td></tr>
<tr class="separator:a8968d79ad7cd9b0bf484600f2688e584"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b87a3f5cb4d1175cd04c6e0f957b8eb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a2b87a3f5cb4d1175cd04c6e0f957b8eb">INTF_I2C_WITH_BUFFER</a>&#160;&#160;&#160;0b11</td></tr>
<tr class="separator:a2b87a3f5cb4d1175cd04c6e0f957b8eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc919192bbbef2f81f217300fc52da8f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#abc919192bbbef2f81f217300fc52da8f">gfx_swap</a>(a,  b)&#160;&#160;&#160;(((a) ^= (b)), ((b) ^= (a)), ((a) ^= (b)))</td></tr>
<tr class="separator:abc919192bbbef2f81f217300fc52da8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72888fda138ec22578f9dd145bbb963f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a72888fda138ec22578f9dd145bbb963f">absv</a>(x)&#160;&#160;&#160;((x)&lt;0 ? -(x) : (x))</td></tr>
<tr class="separator:a72888fda138ec22578f9dd145bbb963f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9075d93e0ab26ccd6e059fa06aa4e3de"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a9075d93e0ab26ccd6e059fa06aa4e3de">HEX</a>&#160;&#160;&#160;-16</td></tr>
<tr class="separator:a9075d93e0ab26ccd6e059fa06aa4e3de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a904777e8f3d21de0a6679d2c9f0f1eec"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a904777e8f3d21de0a6679d2c9f0f1eec">OCT</a>&#160;&#160;&#160;-8</td></tr>
<tr class="separator:a904777e8f3d21de0a6679d2c9f0f1eec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75267cdfa3fa9e52c7c1f1094f9387b7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a75267cdfa3fa9e52c7c1f1094f9387b7">BIN</a>&#160;&#160;&#160;-2</td></tr>
<tr class="separator:a75267cdfa3fa9e52c7c1f1094f9387b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe38ec6126e35e40049e27fdf4586ba5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#afe38ec6126e35e40049e27fdf4586ba5">DEC</a>&#160;&#160;&#160;-10</td></tr>
<tr class="separator:afe38ec6126e35e40049e27fdf4586ba5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a6683848a2d0e444c2d71bbf6b588a30b"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="html/structscreen__st.html">screen_st</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a></td></tr>
<tr class="separator:a6683848a2d0e444c2d71bbf6b588a30b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad44f4b50b3ae47cee2f329b6ad54a873"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#ad44f4b50b3ae47cee2f329b6ad54a873">screen</a></td></tr>
<tr class="separator:ad44f4b50b3ae47cee2f329b6ad54a873"><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:a7a2460a4ddee7091c83cda321c3243f2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a7a2460a4ddee7091c83cda321c3243f2">clearDisplay</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev)</td></tr>
<tr class="memdesc:a7a2460a4ddee7091c83cda321c3243f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears (sets to the native background color of the screen, usually black) the entire screen.  <a href="#a7a2460a4ddee7091c83cda321c3243f2">More...</a><br /></td></tr>
<tr class="separator:a7a2460a4ddee7091c83cda321c3243f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22751f0b2910a00490f575ffaf1f8dc8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a22751f0b2910a00490f575ffaf1f8dc8">updateDisplay</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev)</td></tr>
<tr class="memdesc:a22751f0b2910a00490f575ffaf1f8dc8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates the display by writing the image buffer to it. Not necessary for screens that have their own image buffers.  <a href="#a22751f0b2910a00490f575ffaf1f8dc8">More...</a><br /></td></tr>
<tr class="separator:a22751f0b2910a00490f575ffaf1f8dc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22ee70cf225117a59aa068dcc90fccd3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a22ee70cf225117a59aa068dcc90fccd3">resetDisplay</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev)</td></tr>
<tr class="memdesc:a22ee70cf225117a59aa068dcc90fccd3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets the display.  <a href="#a22ee70cf225117a59aa068dcc90fccd3">More...</a><br /></td></tr>
<tr class="separator:a22ee70cf225117a59aa068dcc90fccd3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80bf607b86caa056346a4fdd6037bfe7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a80bf607b86caa056346a4fdd6037bfe7">drawPixel</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, int x, int y, int color)</td></tr>
<tr class="memdesc:a80bf607b86caa056346a4fdd6037bfe7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a single pixel in the specified color.  <a href="#a80bf607b86caa056346a4fdd6037bfe7">More...</a><br /></td></tr>
<tr class="separator:a80bf607b86caa056346a4fdd6037bfe7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67de1eb60252f0ef6759668ef600a34d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a67de1eb60252f0ef6759668ef600a34d">drawFastHLine</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, int x, int y, int w, int color)</td></tr>
<tr class="memdesc:a67de1eb60252f0ef6759668ef600a34d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a horizontal line in the specified color.  <a href="#a67de1eb60252f0ef6759668ef600a34d">More...</a><br /></td></tr>
<tr class="separator:a67de1eb60252f0ef6759668ef600a34d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace077af5290e85aec65deaacc6c63038"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#ace077af5290e85aec65deaacc6c63038">drawFastVLine</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, int x, int y, int h, int color)</td></tr>
<tr class="memdesc:ace077af5290e85aec65deaacc6c63038"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a vertical line in the specified color.  <a href="#ace077af5290e85aec65deaacc6c63038">More...</a><br /></td></tr>
<tr class="separator:ace077af5290e85aec65deaacc6c63038"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a652eb1078a490dbb4dfafb180dc00d9a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a652eb1078a490dbb4dfafb180dc00d9a">drawLine</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, int x0, int y0, int x1, int y1, int color)</td></tr>
<tr class="memdesc:a652eb1078a490dbb4dfafb180dc00d9a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a line in the specified color.  <a href="#a652eb1078a490dbb4dfafb180dc00d9a">More...</a><br /></td></tr>
<tr class="separator:a652eb1078a490dbb4dfafb180dc00d9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b1acadb800259950eb25f6fd001fb7c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a8b1acadb800259950eb25f6fd001fb7c">drawCircle</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, int x0, int y0, int r, int color)</td></tr>
<tr class="memdesc:a8b1acadb800259950eb25f6fd001fb7c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a circle in the specified color.  <a href="#a8b1acadb800259950eb25f6fd001fb7c">More...</a><br /></td></tr>
<tr class="separator:a8b1acadb800259950eb25f6fd001fb7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11ceccba2e2de472822c7c7197afeb51"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a11ceccba2e2de472822c7c7197afeb51">drawCircleHelper</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, int x0, int y0, int r, char cornername, int color)</td></tr>
<tr class="memdesc:a11ceccba2e2de472822c7c7197afeb51"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper function used to help draw circles and rectangles with rounded corners.  <a href="#a11ceccba2e2de472822c7c7197afeb51">More...</a><br /></td></tr>
<tr class="separator:a11ceccba2e2de472822c7c7197afeb51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecdc4d9ab1410452dc0f462f7bb0b360"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#aecdc4d9ab1410452dc0f462f7bb0b360">fillCircle</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, int x0, int y0, int r, int color)</td></tr>
<tr class="memdesc:aecdc4d9ab1410452dc0f462f7bb0b360"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a filled circle in the specified color.  <a href="#aecdc4d9ab1410452dc0f462f7bb0b360">More...</a><br /></td></tr>
<tr class="separator:aecdc4d9ab1410452dc0f462f7bb0b360"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae571d886840f85c090c2393bb47dd44b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#ae571d886840f85c090c2393bb47dd44b">fillCircleHelper</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, int x0, int y0, int r, char cornername, int delta, int color)</td></tr>
<tr class="memdesc:ae571d886840f85c090c2393bb47dd44b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper function used to draw filled circles and rectangles with rounded corners.  <a href="#ae571d886840f85c090c2393bb47dd44b">More...</a><br /></td></tr>
<tr class="separator:ae571d886840f85c090c2393bb47dd44b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a965ff96dfa1d9c5df4e6fdc28142152c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a965ff96dfa1d9c5df4e6fdc28142152c">drawRect</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, int x, int y, int w, int h, int color)</td></tr>
<tr class="memdesc:a965ff96dfa1d9c5df4e6fdc28142152c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a rectangle in the specified color.  <a href="#a965ff96dfa1d9c5df4e6fdc28142152c">More...</a><br /></td></tr>
<tr class="separator:a965ff96dfa1d9c5df4e6fdc28142152c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3616d6c41b3de199d3e9cce76ad4b68f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a3616d6c41b3de199d3e9cce76ad4b68f">fillRect</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, int x, int y, int w, int h, int color)</td></tr>
<tr class="memdesc:a3616d6c41b3de199d3e9cce76ad4b68f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a filled rectangle in the specified color.  <a href="#a3616d6c41b3de199d3e9cce76ad4b68f">More...</a><br /></td></tr>
<tr class="separator:a3616d6c41b3de199d3e9cce76ad4b68f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a304756b9b302305a4d986e3222fb71e7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a304756b9b302305a4d986e3222fb71e7">drawRoundRect</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, int x, int y, int w, int h, int r, int color)</td></tr>
<tr class="memdesc:a304756b9b302305a4d986e3222fb71e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a rectangle with rounded corners in the specified color.  <a href="#a304756b9b302305a4d986e3222fb71e7">More...</a><br /></td></tr>
<tr class="separator:a304756b9b302305a4d986e3222fb71e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abad88649845dfa8d6a3078709747bcbc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#abad88649845dfa8d6a3078709747bcbc">fillRoundRect</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, int x, int y, int w, int h, int r, int color)</td></tr>
<tr class="memdesc:abad88649845dfa8d6a3078709747bcbc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a filled rectangle with rounded corners in the specified color.  <a href="#abad88649845dfa8d6a3078709747bcbc">More...</a><br /></td></tr>
<tr class="separator:abad88649845dfa8d6a3078709747bcbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2e43c8ab47be76d36ca22d3b87e2865"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#ab2e43c8ab47be76d36ca22d3b87e2865">drawTriangle</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, int x0, int y0, int x1, int y1, int x2, int y2, int color)</td></tr>
<tr class="memdesc:ab2e43c8ab47be76d36ca22d3b87e2865"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a triangle with in the specified color.  <a href="#ab2e43c8ab47be76d36ca22d3b87e2865">More...</a><br /></td></tr>
<tr class="separator:ab2e43c8ab47be76d36ca22d3b87e2865"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f37ea7ce6f24effa49e6f6a2cc4744d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a1f37ea7ce6f24effa49e6f6a2cc4744d">fillTriangle</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, int x0, int y0, int x1, int y1, int x2, int y2, int color)</td></tr>
<tr class="memdesc:a1f37ea7ce6f24effa49e6f6a2cc4744d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a filled triangle with in the specified color.  <a href="#a1f37ea7ce6f24effa49e6f6a2cc4744d">More...</a><br /></td></tr>
<tr class="separator:a1f37ea7ce6f24effa49e6f6a2cc4744d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8072a6a774a234962a15b5bc53549eb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#ad8072a6a774a234962a15b5bc53549eb">drawCopy</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, int x, int y, int w, int h, int x1, int y1)</td></tr>
<tr class="memdesc:ad8072a6a774a234962a15b5bc53549eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies a rectagle and draws it at another location on the screen.  <a href="#ad8072a6a774a234962a15b5bc53549eb">More...</a><br /></td></tr>
<tr class="separator:ad8072a6a774a234962a15b5bc53549eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b5bb329e9739d6f98bba547eed57948"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a2b5bb329e9739d6f98bba547eed57948">setTextSize</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, char s)</td></tr>
<tr class="memdesc:a2b5bb329e9739d6f98bba547eed57948"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the size of the font to be used. Range is from 1 to 3. Size (1) is 5x7 (6x8 spacing) pixels, size (2) is 11x15 (12x16 spacing) pixels and size (3) is 15x23 (16x24 spacing) pixels.  <a href="#a2b5bb329e9739d6f98bba547eed57948">More...</a><br /></td></tr>
<tr class="separator:a2b5bb329e9739d6f98bba547eed57948"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37081e4c0d1c7d2061a1d61e5f762876"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a37081e4c0d1c7d2061a1d61e5f762876">setTextFont</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, char f)</td></tr>
<tr class="memdesc:a37081e4c0d1c7d2061a1d61e5f762876"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the font face to be used. Range is from 0 to 3.  <a href="#a37081e4c0d1c7d2061a1d61e5f762876">More...</a><br /></td></tr>
<tr class="separator:a37081e4c0d1c7d2061a1d61e5f762876"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32849ef4023bcc3aee32c9d160c23f9c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a32849ef4023bcc3aee32c9d160c23f9c">setTextColor</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, int color)</td></tr>
<tr class="memdesc:a32849ef4023bcc3aee32c9d160c23f9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the color of the font and the color of the background (highlighting) to be used. Setting the text color and text background to the same color will make the background color transparent.  <a href="#a32849ef4023bcc3aee32c9d160c23f9c">More...</a><br /></td></tr>
<tr class="separator:a32849ef4023bcc3aee32c9d160c23f9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee58bd96a6a82870e20152ac6b8550ab"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#aee58bd96a6a82870e20152ac6b8550ab">setBgColor</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, int color)</td></tr>
<tr class="memdesc:aee58bd96a6a82870e20152ac6b8550ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the color of the font and the color of the background (highlighting) to be used. Setting the text color and text background to the same color will make the background color transparent.  <a href="#aee58bd96a6a82870e20152ac6b8550ab">More...</a><br /></td></tr>
<tr class="separator:aee58bd96a6a82870e20152ac6b8550ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace949ffb02d0831e2443f4516e90337a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#ace949ffb02d0831e2443f4516e90337a">setTextWrap</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, char w)</td></tr>
<tr class="memdesc:ace949ffb02d0831e2443f4516e90337a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Toggles automatic wrapping of text printed to the screen.  <a href="#ace949ffb02d0831e2443f4516e90337a">More...</a><br /></td></tr>
<tr class="separator:ace949ffb02d0831e2443f4516e90337a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f8bb625c9484e66ea78f85abb67d5b2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a1f8bb625c9484e66ea78f85abb67d5b2">setCursor</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, int x, int y, char size)</td></tr>
<tr class="memdesc:a1f8bb625c9484e66ea78f85abb67d5b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the cursor position based on the size parameter.  <a href="#a1f8bb625c9484e66ea78f85abb67d5b2">More...</a><br /></td></tr>
<tr class="separator:a1f8bb625c9484e66ea78f85abb67d5b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84cd145475c7183f85e401a78375f12a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a84cd145475c7183f85e401a78375f12a">drawPrint</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, const char *fmt,...)</td></tr>
<tr class="memdesc:a84cd145475c7183f85e401a78375f12a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Print format "..." args to the screen. The output is limited to 128 bytes.  <a href="#a84cd145475c7183f85e401a78375f12a">More...</a><br /></td></tr>
<tr class="separator:a84cd145475c7183f85e401a78375f12a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99ceb1c34b512eedd681a6e4d9cb6757"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a99ceb1c34b512eedd681a6e4d9cb6757">drawNumber</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, float d, int r)</td></tr>
<tr class="memdesc:a99ceb1c34b512eedd681a6e4d9cb6757"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints a number to the screen starting at the cursor position. Output is limited to 64 bytes.  <a href="#a99ceb1c34b512eedd681a6e4d9cb6757">More...</a><br /></td></tr>
<tr class="separator:a99ceb1c34b512eedd681a6e4d9cb6757"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04733313c335b25d33fb8f0d8a1047ab"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a04733313c335b25d33fb8f0d8a1047ab">drawText</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, char *myString)</td></tr>
<tr class="memdesc:a04733313c335b25d33fb8f0d8a1047ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints a string of text to the screen starting at the cursor position. Output is limited to 64 bytes.  <a href="#a04733313c335b25d33fb8f0d8a1047ab">More...</a><br /></td></tr>
<tr class="separator:a04733313c335b25d33fb8f0d8a1047ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8103b5fffe3bb2a898d4de887fe72a5f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a8103b5fffe3bb2a898d4de887fe72a5f">drawChar</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, char c)</td></tr>
<tr class="memdesc:a8103b5fffe3bb2a898d4de887fe72a5f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints single ASCII-encoded characters to the screen. Characters 32 (space) to 126 (~) are rendered. All other characters are rendered as a box.  <a href="#a8103b5fffe3bb2a898d4de887fe72a5f">More...</a><br /></td></tr>
<tr class="separator:a8103b5fffe3bb2a898d4de887fe72a5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02f046cfc71e8c5c8f39185d3f2ca2b9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a02f046cfc71e8c5c8f39185d3f2ca2b9">getCursorX</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev)</td></tr>
<tr class="memdesc:a02f046cfc71e8c5c8f39185d3f2ca2b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current horizontal position of the cursor, measured from the left side of the screen in pixels.  <a href="#a02f046cfc71e8c5c8f39185d3f2ca2b9">More...</a><br /></td></tr>
<tr class="separator:a02f046cfc71e8c5c8f39185d3f2ca2b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e186f37367a733f5caed0bf8524bf07"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a1e186f37367a733f5caed0bf8524bf07">getCursorY</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev)</td></tr>
<tr class="memdesc:a1e186f37367a733f5caed0bf8524bf07"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current vertical position of the cursor, measured from the top of the screen in pixels.  <a href="#a1e186f37367a733f5caed0bf8524bf07">More...</a><br /></td></tr>
<tr class="separator:a1e186f37367a733f5caed0bf8524bf07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a112504997c0d6d0ab7f36aa765962c89"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a112504997c0d6d0ab7f36aa765962c89">setDisplayRotation</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, char r)</td></tr>
<tr class="memdesc:a112504997c0d6d0ab7f36aa765962c89"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the screen's orientation.  <a href="#a112504997c0d6d0ab7f36aa765962c89">More...</a><br /></td></tr>
<tr class="separator:a112504997c0d6d0ab7f36aa765962c89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac343bba6871162ffd12fbbf6a4b37ab4"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#ac343bba6871162ffd12fbbf6a4b37ab4">getDisplayRotation</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev)</td></tr>
<tr class="memdesc:ac343bba6871162ffd12fbbf6a4b37ab4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the screen's orientation.  <a href="#ac343bba6871162ffd12fbbf6a4b37ab4">More...</a><br /></td></tr>
<tr class="separator:ac343bba6871162ffd12fbbf6a4b37ab4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a738ae4c6ffc39c8d828f458f92491c30"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a738ae4c6ffc39c8d828f458f92491c30">getDisplayWidth</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev)</td></tr>
<tr class="memdesc:a738ae4c6ffc39c8d828f458f92491c30"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the width of the display in pixels with screen rotation taken into account.  <a href="#a738ae4c6ffc39c8d828f458f92491c30">More...</a><br /></td></tr>
<tr class="separator:a738ae4c6ffc39c8d828f458f92491c30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a035db80332068d9ba00724a5f4b713"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a6a035db80332068d9ba00724a5f4b713">getDisplayHeight</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev)</td></tr>
<tr class="memdesc:a6a035db80332068d9ba00724a5f4b713"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the height of the display in pixels with screen rotation taken into account.  <a href="#a6a035db80332068d9ba00724a5f4b713">More...</a><br /></td></tr>
<tr class="separator:a6a035db80332068d9ba00724a5f4b713"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adeaf3903884537c1dc66fb9233f01da9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#adeaf3903884537c1dc66fb9233f01da9">loadFonts</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, i2c *eeBus)</td></tr>
<tr class="memdesc:adeaf3903884537c1dc66fb9233f01da9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal function used to load the EEPROM addresses of the bitmapped fonts to the device's structure. This function is called by the init function in the display's library. It can be called at any time to point to fonts stored in an EEPROM attached to a different i2c bus.  <a href="#adeaf3903884537c1dc66fb9233f01da9">More...</a><br /></td></tr>
<tr class="separator:adeaf3903884537c1dc66fb9233f01da9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8a005c388c4c795fbc11daef3c28ad4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#aa8a005c388c4c795fbc11daef3c28ad4">drawCharSmall</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, unsigned char c)</td></tr>
<tr class="memdesc:aa8a005c388c4c795fbc11daef3c28ad4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Low-level helper function for printing single characters to the screen in the small (5x7) font.  <a href="#aa8a005c388c4c795fbc11daef3c28ad4">More...</a><br /></td></tr>
<tr class="separator:aa8a005c388c4c795fbc11daef3c28ad4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae6d96a391c5934bc239da0dd3033178"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#aae6d96a391c5934bc239da0dd3033178">drawCharMedium</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, unsigned char c)</td></tr>
<tr class="memdesc:aae6d96a391c5934bc239da0dd3033178"><td class="mdescLeft">&#160;</td><td class="mdescRight">Low-level helper function for printing single characters to the screen in the medium (11x15) font.  <a href="#aae6d96a391c5934bc239da0dd3033178">More...</a><br /></td></tr>
<tr class="separator:aae6d96a391c5934bc239da0dd3033178"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a394c890e21409290c89e16f1fcca9f0b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a394c890e21409290c89e16f1fcca9f0b">drawCharLarge</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, unsigned char c)</td></tr>
<tr class="memdesc:a394c890e21409290c89e16f1fcca9f0b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Low-level helper function for printing single characters to the screen in the large (17x23) font.  <a href="#a394c890e21409290c89e16f1fcca9f0b">More...</a><br /></td></tr>
<tr class="separator:a394c890e21409290c89e16f1fcca9f0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a340431781e68ad7672f59a0aac03071a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a340431781e68ad7672f59a0aac03071a">invertDisplay</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, char i)</td></tr>
<tr class="memdesc:a340431781e68ad7672f59a0aac03071a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Toggles the invert/normal display modes for the display. Depending on the display type it may only invert existing drawings, or it may invert both existing and colors drawn when inversion is set.  <a href="#a340431781e68ad7672f59a0aac03071a">More...</a><br /></td></tr>
<tr class="separator:a340431781e68ad7672f59a0aac03071a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac14657a04ed12e44cab5ba388833e377"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#ac14657a04ed12e44cab5ba388833e377">sleepWakeDisplay</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, char i)</td></tr>
<tr class="memdesc:ac14657a04ed12e44cab5ba388833e377"><td class="mdescLeft">&#160;</td><td class="mdescRight">Toggle the display's sleep/wake mode. Not supported by all displays.  <a href="#ac14657a04ed12e44cab5ba388833e377">More...</a><br /></td></tr>
<tr class="separator:ac14657a04ed12e44cab5ba388833e377"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1785c88435305b90f8ada072810a308"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#aa1785c88435305b90f8ada072810a308">scrollDisplay</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, int h, int v)</td></tr>
<tr class="memdesc:aa1785c88435305b90f8ada072810a308"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the display's vertical or hrizontal scrolling functions. <br />
Not supported by all displays, and different display types behave differently.  <a href="#aa1785c88435305b90f8ada072810a308">More...</a><br /></td></tr>
<tr class="separator:aa1785c88435305b90f8ada072810a308"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08b0b29309266fcbba37ce2ff6269e8c"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a08b0b29309266fcbba37ce2ff6269e8c">isInverted</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev)</td></tr>
<tr class="memdesc:a08b0b29309266fcbba37ce2ff6269e8c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the status of the screen's colors - normal or inverted.  <a href="#a08b0b29309266fcbba37ce2ff6269e8c">More...</a><br /></td></tr>
<tr class="separator:a08b0b29309266fcbba37ce2ff6269e8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a014d0b879a977afdf45d08addb55a6ae"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a014d0b879a977afdf45d08addb55a6ae">isAsleep</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev)</td></tr>
<tr class="memdesc:a014d0b879a977afdf45d08addb55a6ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the screen is currently in a sleep mode or awake.  <a href="#a014d0b879a977afdf45d08addb55a6ae">More...</a><br /></td></tr>
<tr class="separator:a014d0b879a977afdf45d08addb55a6ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac3aa9f1c1b9fc2684355a4c77f214d9"><td class="memItemLeft" align="right" valign="top">unsigned char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#aac3aa9f1c1b9fc2684355a4c77f214d9">getScrollVertical</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev)</td></tr>
<tr class="memdesc:aac3aa9f1c1b9fc2684355a4c77f214d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a value representing the status or speed of the display's vertical scroll.  <a href="#aac3aa9f1c1b9fc2684355a4c77f214d9">More...</a><br /></td></tr>
<tr class="separator:aac3aa9f1c1b9fc2684355a4c77f214d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b999e8341eec12ec4bd292bc85b844f"><td class="memItemLeft" align="right" valign="top">unsigned char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a8b999e8341eec12ec4bd292bc85b844f">getScrollHorizontal</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev)</td></tr>
<tr class="memdesc:a8b999e8341eec12ec4bd292bc85b844f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a value representing the status or speed of the display's horizontal scroll.  <a href="#a8b999e8341eec12ec4bd292bc85b844f">More...</a><br /></td></tr>
<tr class="separator:a8b999e8341eec12ec4bd292bc85b844f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6eeacf0d071883fdfe920fea5fd4c6dd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="html/simplegfx_8h.html#a6eeacf0d071883fdfe920fea5fd4c6dd">drawBitmap</a> (<a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *dev, char *imgdir, int x, int y)</td></tr>
<tr class="memdesc:a6eeacf0d071883fdfe920fea5fd4c6dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw an image (bitmap) at the specified (x,y) position. <br />
Requires an SD card to be mounted.  <a href="#a6eeacf0d071883fdfe920fea5fd4c6dd">More...</a><br /></td></tr>
<tr class="separator:a6eeacf0d071883fdfe920fea5fd4c6dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>


</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a7a2460a4ddee7091c83cda321c3243f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a2460a4ddee7091c83cda321c3243f2">&#9670;&nbsp;</a></span>clearDisplay()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void clearDisplay </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears (sets to the native background color of the screen, usually black) the entire screen. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a6eeacf0d071883fdfe920fea5fd4c6dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6eeacf0d071883fdfe920fea5fd4c6dd">&#9670;&nbsp;</a></span>drawBitmap()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void drawBitmap </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>imgdir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#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>Draw an image (bitmap) at the specified (x,y) position. <br />
Requires an SD card to be mounted. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">imgdir</td><td>String of the filename of the bitmap stored on the SD card.</td></tr>
    <tr><td class="paramname">x</td><td>Horizontal coordinate of the top-left corner of where to draw the image.</td></tr>
    <tr><td class="paramname">y</td><td>Vertical coordinate of the top-left corner of where to draw the image. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a8103b5fffe3bb2a898d4de887fe72a5f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8103b5fffe3bb2a898d4de887fe72a5f">&#9670;&nbsp;</a></span>drawChar()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void drawChar </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>c</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Prints single ASCII-encoded characters to the screen. Characters 32 (space) to 126 (~) are rendered. All other characters are rendered as a box. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">c</td><td>ASCII-encoded character to draw. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a394c890e21409290c89e16f1fcca9f0b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a394c890e21409290c89e16f1fcca9f0b">&#9670;&nbsp;</a></span>drawCharLarge()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void drawCharLarge </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char&#160;</td>
          <td class="paramname"><em>c</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Low-level helper function for printing single characters to the screen in the large (17x23) font. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">c</td><td>ASCII-encoded character to draw. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aae6d96a391c5934bc239da0dd3033178"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae6d96a391c5934bc239da0dd3033178">&#9670;&nbsp;</a></span>drawCharMedium()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void drawCharMedium </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char&#160;</td>
          <td class="paramname"><em>c</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Low-level helper function for printing single characters to the screen in the medium (11x15) font. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">c</td><td>ASCII-encoded character to draw. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aa8a005c388c4c795fbc11daef3c28ad4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8a005c388c4c795fbc11daef3c28ad4">&#9670;&nbsp;</a></span>drawCharSmall()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void drawCharSmall </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char&#160;</td>
          <td class="paramname"><em>c</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Low-level helper function for printing single characters to the screen in the small (5x7) font. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">c</td><td>ASCII-encoded character to draw. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a8b1acadb800259950eb25f6fd001fb7c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b1acadb800259950eb25f6fd001fb7c">&#9670;&nbsp;</a></span>drawCircle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void drawCircle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draws a circle in the specified color. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">x0</td><td>Horizontal coordinate of the center of the circle, counted from the left side of the screen.</td></tr>
    <tr><td class="paramname">y0</td><td>Vertical coordinate of the center of the circle, counted down from the top of the screen.</td></tr>
    <tr><td class="paramname">r</td><td>Radius of the circle.</td></tr>
    <tr><td class="paramname">color</td><td>Color of the shape, in the format native to the display. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a11ceccba2e2de472822c7c7197afeb51"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a11ceccba2e2de472822c7c7197afeb51">&#9670;&nbsp;</a></span>drawCircleHelper()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void drawCircleHelper </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>cornername</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Helper function used to help draw circles and rectangles with rounded corners. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">x0</td><td>Horizontal coordinate of the center of the arc, counted from the left side of the screen.</td></tr>
    <tr><td class="paramname">y0</td><td>Vertical coordinate of the center of the arc, counted down from the top of the screen.</td></tr>
    <tr><td class="paramname">r</td><td>Radius of the arc.</td></tr>
    <tr><td class="paramname">cornername</td><td>Which corner (arc) to draw</td></tr>
    <tr><td class="paramname">color</td><td>Color of the shape, in the format native to the display. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ad8072a6a774a234962a15b5bc53549eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad8072a6a774a234962a15b5bc53549eb">&#9670;&nbsp;</a></span>drawCopy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void drawCopy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>h</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y1</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copies a rectagle and draws it at another location on the screen. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">x</td><td>Horizontal coordinate of the top-left corner of the rectangle to be copied.</td></tr>
    <tr><td class="paramname">y</td><td>Vertical coordinate of the top-left corner of the rectagle to be copied.</td></tr>
    <tr><td class="paramname">w</td><td>Width of the rectagle to be copied.</td></tr>
    <tr><td class="paramname">h</td><td>Height of the rectagle to be copied.</td></tr>
    <tr><td class="paramname">x1</td><td>Horizontal coordinate of the location to paste the copied rectagle to.</td></tr>
    <tr><td class="paramname">y1</td><td>Vertical coordinate of the location to paste the copied rectagle to. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a67de1eb60252f0ef6759668ef600a34d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a67de1eb60252f0ef6759668ef600a34d">&#9670;&nbsp;</a></span>drawFastHLine()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void drawFastHLine </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draws a horizontal line in the specified color. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">x</td><td>Starting horizontal coordinate of the line, counted from the left side of the screen.</td></tr>
    <tr><td class="paramname">y</td><td>Starting vertical coordinate of the line, counted down from the top of the screen.</td></tr>
    <tr><td class="paramname">w</td><td>Length of the line.</td></tr>
    <tr><td class="paramname">color</td><td>Color of the line, in the format native to the display. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ace077af5290e85aec65deaacc6c63038"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace077af5290e85aec65deaacc6c63038">&#9670;&nbsp;</a></span>drawFastVLine()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void drawFastVLine </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>h</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draws a vertical line in the specified color. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">x</td><td>Starting horizontal coordinate of the line, counted from the left side of the screen.</td></tr>
    <tr><td class="paramname">y</td><td>Starting vertical coordinate of the line, counted down from the top of the screen.</td></tr>
    <tr><td class="paramname">h</td><td>Length of the line.</td></tr>
    <tr><td class="paramname">color</td><td>Color of the line, in the format native to the display. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a652eb1078a490dbb4dfafb180dc00d9a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a652eb1078a490dbb4dfafb180dc00d9a">&#9670;&nbsp;</a></span>drawLine()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void drawLine </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draws a line in the specified color. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">x0</td><td>Starting horizontal coordinate of the line, counted from the left side of the screen.</td></tr>
    <tr><td class="paramname">y0</td><td>Starting vertical coordinate of the line, counted down from the top of the screen.</td></tr>
    <tr><td class="paramname">x1</td><td>Ending horizontal coordinate of the line.</td></tr>
    <tr><td class="paramname">y1</td><td>Ending vertical coordinate of the line.</td></tr>
    <tr><td class="paramname">color</td><td>Color of the shape, in the format native to the display. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a99ceb1c34b512eedd681a6e4d9cb6757"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99ceb1c34b512eedd681a6e4d9cb6757">&#9670;&nbsp;</a></span>drawNumber()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void drawNumber </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>d</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>r</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Prints a number to the screen starting at the cursor position. Output is limited to 64 bytes. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">d</td><td>Number to be printed to the screen. The number can be either a floating point decimal or an integer.</td></tr>
    <tr><td class="paramname">r</td><td>The number base to display the number in (for integers); HEX, BIN, OCT, and DEC are acceptable values. or the number of decimals to display following the decimal point (for floating point numbers). Negative numbers in bases other than DEC will display "Err". </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a80bf607b86caa056346a4fdd6037bfe7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a80bf607b86caa056346a4fdd6037bfe7">&#9670;&nbsp;</a></span>drawPixel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void drawPixel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draws a single pixel in the specified color. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">x</td><td>Horizontal coordinate of the pixel, counted from the left side of the screen.</td></tr>
    <tr><td class="paramname">y</td><td>Vertical coordinate of the pixel, counted down from the top of the screen.</td></tr>
    <tr><td class="paramname">color</td><td>Color of the pixel, in the format native to the display. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a84cd145475c7183f85e401a78375f12a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a84cd145475c7183f85e401a78375f12a">&#9670;&nbsp;</a></span>drawPrint()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int drawPrint </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const 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 format "..." args to the screen. The output is limited to 128 bytes. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">fmt</td><td>Formatted string to be printed to the display. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a965ff96dfa1d9c5df4e6fdc28142152c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a965ff96dfa1d9c5df4e6fdc28142152c">&#9670;&nbsp;</a></span>drawRect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void drawRect </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>h</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draws a rectangle in the specified color. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">x</td><td>Starting horizontal coordinate of the rectangle, counted from the left side of the screen.</td></tr>
    <tr><td class="paramname">y</td><td>Starting vertical coordinate of the rectangle, counted down from the top of the screen.</td></tr>
    <tr><td class="paramname">w</td><td>Width of the rectangle.</td></tr>
    <tr><td class="paramname">h</td><td>Height of the rectangle.</td></tr>
    <tr><td class="paramname">color</td><td>Color of the shape, in the format native to the display. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a304756b9b302305a4d986e3222fb71e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a304756b9b302305a4d986e3222fb71e7">&#9670;&nbsp;</a></span>drawRoundRect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void drawRoundRect </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>h</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draws a rectangle with rounded corners in the specified color. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">x</td><td>Starting horizontal coordinate of the rectangle, counted from the left side of the screen.</td></tr>
    <tr><td class="paramname">y</td><td>Starting vertical coordinate of the rectangle, counted down from the top of the screen.</td></tr>
    <tr><td class="paramname">w</td><td>Width of the rectangle.</td></tr>
    <tr><td class="paramname">h</td><td>Height of the rectangle.</td></tr>
    <tr><td class="paramname">r</td><td>Radius of the rounded corners.</td></tr>
    <tr><td class="paramname">color</td><td>Color of the shape, in the format native to the display. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a04733313c335b25d33fb8f0d8a1047ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a04733313c335b25d33fb8f0d8a1047ab">&#9670;&nbsp;</a></span>drawText()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void drawText </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>myString</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Prints a string of text to the screen starting at the cursor position. Output is limited to 64 bytes. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">*myString</td><td>Text to display on the screen. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ab2e43c8ab47be76d36ca22d3b87e2865"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab2e43c8ab47be76d36ca22d3b87e2865">&#9670;&nbsp;</a></span>drawTriangle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void drawTriangle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draws a triangle with in the specified color. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">x0</td><td>Horizontal coordinate of the first vertex (corner) of the triangle, counted from the left side of the screen.</td></tr>
    <tr><td class="paramname">y0</td><td>Vertical coordinate of the first vertex (corner) of the triangle, counted down from the top of the screen.</td></tr>
    <tr><td class="paramname">x1</td><td>Horizontal coordinate of the second vertex of the triangle.</td></tr>
    <tr><td class="paramname">y1</td><td>Vertical coordinate of the first vertex of the triangle.</td></tr>
    <tr><td class="paramname">x2</td><td>Horizontal coordinate of the third vertex of the triangle.</td></tr>
    <tr><td class="paramname">y2</td><td>Vertical coordinate of the third vertex of the triangle.</td></tr>
    <tr><td class="paramname">color</td><td>Color of the shape, in the format native to the display. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aecdc4d9ab1410452dc0f462f7bb0b360"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aecdc4d9ab1410452dc0f462f7bb0b360">&#9670;&nbsp;</a></span>fillCircle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void fillCircle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draws a filled circle in the specified color. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">x0</td><td>Horizontal coordinate of the center of the circle, counted from the left side of the screen.</td></tr>
    <tr><td class="paramname">y0</td><td>Vertical coordinate of the center of the circle, counted down from the top of the screen.</td></tr>
    <tr><td class="paramname">r</td><td>Radius of the circle.</td></tr>
    <tr><td class="paramname">color</td><td>Color of the shape, in the format native to the display. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ae571d886840f85c090c2393bb47dd44b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae571d886840f85c090c2393bb47dd44b">&#9670;&nbsp;</a></span>fillCircleHelper()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void fillCircleHelper </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>cornername</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>delta</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Helper function used to draw filled circles and rectangles with rounded corners. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">x0</td><td>Horizontal coordinate of the center of the arc, counted from the left side of the screen.</td></tr>
    <tr><td class="paramname">y0</td><td>Vertical coordinate of the center of the arc, counted down from the top of the screen.</td></tr>
    <tr><td class="paramname">r</td><td>Radius of the arc.</td></tr>
    <tr><td class="paramname">cornername</td><td>Which corner (arc) to draw</td></tr>
    <tr><td class="paramname">delta</td><td>Offest from the center line (space between quarter circles) used for drawing rounded rectagles</td></tr>
    <tr><td class="paramname">color</td><td>Color of the shape, in the format native to the display. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a3616d6c41b3de199d3e9cce76ad4b68f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3616d6c41b3de199d3e9cce76ad4b68f">&#9670;&nbsp;</a></span>fillRect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void fillRect </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>h</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draws a filled rectangle in the specified color. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">x</td><td>Starting horizontal coordinate of the rectangle, counted from the left side of the screen.</td></tr>
    <tr><td class="paramname">y</td><td>Starting vertical coordinate of the rectangle, counted down from the top of the screen.</td></tr>
    <tr><td class="paramname">w</td><td>Width of the rectangle.</td></tr>
    <tr><td class="paramname">h</td><td>Height of the rectangle.</td></tr>
    <tr><td class="paramname">color</td><td>Color of the shape, in the format native to the display. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="abad88649845dfa8d6a3078709747bcbc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abad88649845dfa8d6a3078709747bcbc">&#9670;&nbsp;</a></span>fillRoundRect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void fillRoundRect </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>h</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draws a filled rectangle with rounded corners in the specified color. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">x</td><td>Starting horizontal coordinate of the rectangle, counted from the left side of the screen.</td></tr>
    <tr><td class="paramname">y</td><td>Starting vertical coordinate of the rectangle, counted down from the top of the screen.</td></tr>
    <tr><td class="paramname">w</td><td>Width of the rectangle.</td></tr>
    <tr><td class="paramname">h</td><td>Height of the rectangle.</td></tr>
    <tr><td class="paramname">r</td><td>Radius of the rounded corners.</td></tr>
    <tr><td class="paramname">color</td><td>Color of the shape, in the format native to the display. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a1f37ea7ce6f24effa49e6f6a2cc4744d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f37ea7ce6f24effa49e6f6a2cc4744d">&#9670;&nbsp;</a></span>fillTriangle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void fillTriangle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draws a filled triangle with in the specified color. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">x0</td><td>Horizontal coordinate of the first vertex (corner) of the triangle, counted from the left side of the screen.</td></tr>
    <tr><td class="paramname">y0</td><td>Vertical coordinate of the first vertex (corner) of the triangle, counted down from the top of the screen.</td></tr>
    <tr><td class="paramname">x1</td><td>Horizontal coordinate of the second vertex of the triangle.</td></tr>
    <tr><td class="paramname">y1</td><td>Vertical coordinate of the first vertex of the triangle.</td></tr>
    <tr><td class="paramname">x2</td><td>Horizontal coordinate of the third vertex of the triangle.</td></tr>
    <tr><td class="paramname">y2</td><td>Vertical coordinate of the third vertex of the triangle.</td></tr>
    <tr><td class="paramname">color</td><td>Color of the shape, in the format native to the display. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a02f046cfc71e8c5c8f39185d3f2ca2b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a02f046cfc71e8c5c8f39185d3f2ca2b9">&#9670;&nbsp;</a></span>getCursorX()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int getCursorX </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the current horizontal position of the cursor, measured from the left side of the screen in pixels. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the horizontal position of the cursor in pixels. </dd></dl>

</div>
</div>
<a id="a1e186f37367a733f5caed0bf8524bf07"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e186f37367a733f5caed0bf8524bf07">&#9670;&nbsp;</a></span>getCursorY()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int getCursorY </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the current vertical position of the cursor, measured from the top of the screen in pixels. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the vertical position of the cursor in pixels. </dd></dl>

</div>
</div>
<a id="a6a035db80332068d9ba00724a5f4b713"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a035db80332068d9ba00724a5f4b713">&#9670;&nbsp;</a></span>getDisplayHeight()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int getDisplayHeight </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the height of the display in pixels with screen rotation taken into account. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ac343bba6871162ffd12fbbf6a4b37ab4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac343bba6871162ffd12fbbf6a4b37ab4">&#9670;&nbsp;</a></span>getDisplayRotation()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char getDisplayRotation </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the screen's orientation. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A number representing the screen's orientation. (0) means pixels are drawn to the screen is at it's native orientation, (1) means pixels are drawn rotated 90 degrees clockwise, (2) means pixels are drawn upside-down - 180 degrees rotated, and (3) means pixels are drawn rotated 270 degrees clockwise. </dd></dl>

</div>
</div>
<a id="a738ae4c6ffc39c8d828f458f92491c30"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a738ae4c6ffc39c8d828f458f92491c30">&#9670;&nbsp;</a></span>getDisplayWidth()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int getDisplayWidth </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the width of the display in pixels with screen rotation taken into account. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a8b999e8341eec12ec4bd292bc85b844f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b999e8341eec12ec4bd292bc85b844f">&#9670;&nbsp;</a></span>getScrollHorizontal()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned char getScrollHorizontal </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a value representing the status or speed of the display's horizontal scroll. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A value representing the horizontal scrolling velocity (or 1 if the screen only supports a single scrolling speed). </dd></dl>

</div>
</div>
<a id="aac3aa9f1c1b9fc2684355a4c77f214d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac3aa9f1c1b9fc2684355a4c77f214d9">&#9670;&nbsp;</a></span>getScrollVertical()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned char getScrollVertical </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a value representing the status or speed of the display's vertical scroll. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A value representing the vertical scrolling velocity (or 1 if the screen only supports a single scrolling speed). </dd></dl>

</div>
</div>
<a id="a340431781e68ad7672f59a0aac03071a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a340431781e68ad7672f59a0aac03071a">&#9670;&nbsp;</a></span>invertDisplay()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void invertDisplay </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>i</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Toggles the invert/normal display modes for the display. Depending on the display type it may only invert existing drawings, or it may invert both existing and colors drawn when inversion is set. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">i</td><td>Set to 0 for normal and 1 for inverted. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a014d0b879a977afdf45d08addb55a6ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a014d0b879a977afdf45d08addb55a6ae">&#9670;&nbsp;</a></span>isAsleep()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char isAsleep </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns whether the screen is currently in a sleep mode or awake. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A value of 1 if the screenis asleep, and 0 if the screen is awake </dd></dl>

</div>
</div>
<a id="a08b0b29309266fcbba37ce2ff6269e8c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a08b0b29309266fcbba37ce2ff6269e8c">&#9670;&nbsp;</a></span>isInverted()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char isInverted </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the status of the screen's colors - normal or inverted. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A value of 1 if the screen's colors are inverted, and 0 if the screen's colors are normal (not-inverted). </dd></dl>

</div>
</div>
<a id="adeaf3903884537c1dc66fb9233f01da9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adeaf3903884537c1dc66fb9233f01da9">&#9670;&nbsp;</a></span>loadFonts()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void loadFonts </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">i2c *&#160;</td>
          <td class="paramname"><em>eeBus</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Internal function used to load the EEPROM addresses of the bitmapped fonts to the device's structure. This function is called by the init function in the display's library. It can be called at any time to point to fonts stored in an EEPROM attached to a different i2c bus. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">eeBus</td><td>Pointer to the i2c bus where the EEPROM containing the font bitmaps is connected. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a22ee70cf225117a59aa068dcc90fccd3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a22ee70cf225117a59aa068dcc90fccd3">&#9670;&nbsp;</a></span>resetDisplay()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void resetDisplay </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Resets the display. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aa1785c88435305b90f8ada072810a308"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa1785c88435305b90f8ada072810a308">&#9670;&nbsp;</a></span>scrollDisplay()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void scrollDisplay </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>h</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the display's vertical or hrizontal scrolling functions. <br />
Not supported by all displays, and different display types behave differently. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">h</td><td>Sets the horizontal display velocity, or for displays with only on/off modes, any non-zero value will trigger a horizontal scroll. Enter zero to stop horizontal scrolling.</td></tr>
    <tr><td class="paramname">v</td><td>Sets the vertical display velocity, or for displays with only on/off modes, any non-zero value will trigger a vertical scroll. Enter zero to stop vertical scrolling. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aee58bd96a6a82870e20152ac6b8550ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee58bd96a6a82870e20152ac6b8550ab">&#9670;&nbsp;</a></span>setBgColor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setBgColor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the color of the font and the color of the background (highlighting) to be used. Setting the text color and text background to the same color will make the background color transparent. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">color</td><td>Color of the font, in the format native to the display. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a1f8bb625c9484e66ea78f85abb67d5b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f8bb625c9484e66ea78f85abb67d5b2">&#9670;&nbsp;</a></span>setCursor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setCursor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the cursor position based on the size parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">x</td><td>Horizontal position of the cursor, counted from the left side of the screen.</td></tr>
    <tr><td class="paramname">y</td><td>Vertical position of the cursor, counted down from the top of the screen.</td></tr>
    <tr><td class="paramname">size</td><td>The size of the cursor. Correlated to font size: (0) moves the cursor in 1 pixel increments, (1) moves the cursor in font size 1 character increments, (2) moves the cursor in font size 2 increments and (3) moves the cursor in font size 3 increments </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a112504997c0d6d0ab7f36aa765962c89"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a112504997c0d6d0ab7f36aa765962c89">&#9670;&nbsp;</a></span>setDisplayRotation()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setDisplayRotation </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>r</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the screen's orientation. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">r</td><td>Number representing the orientation to set the display to. (0) means pixels are drawn to the screen is at it's native orientation, (1) means pixels are drawn rotated 90 degrees clockwise, (2) means pixels are drawn upside-down - 180 degrees rotated, and (3) means pixels are drawn rotated 270 degrees clockwise. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a32849ef4023bcc3aee32c9d160c23f9c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32849ef4023bcc3aee32c9d160c23f9c">&#9670;&nbsp;</a></span>setTextColor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setTextColor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the color of the font and the color of the background (highlighting) to be used. Setting the text color and text background to the same color will make the background color transparent. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">color</td><td>Color of the font, in the format native to the display. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a37081e4c0d1c7d2061a1d61e5f762876"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a37081e4c0d1c7d2061a1d61e5f762876">&#9670;&nbsp;</a></span>setTextFont()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setTextFont </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>f</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the font face to be used. Range is from 0 to 3. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">f</td><td>Font face to use. Font face (0) is a sans-serif (console) font, face (1) is serif (typewriter) font, face (2) is a script (handwriting) font and face (3) is a bubble (outline/cartoon) font. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a2b5bb329e9739d6f98bba547eed57948"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b5bb329e9739d6f98bba547eed57948">&#9670;&nbsp;</a></span>setTextSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setTextSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>s</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the size of the font to be used. Range is from 1 to 3. Size (1) is 5x7 (6x8 spacing) pixels, size (2) is 11x15 (12x16 spacing) pixels and size (3) is 15x23 (16x24 spacing) pixels. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">s</td><td>Size of text to draw. 1 = small (5x7) font, 2 = medium (11x15) font, 3 = large (17x23) font. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ace949ffb02d0831e2443f4516e90337a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace949ffb02d0831e2443f4516e90337a">&#9670;&nbsp;</a></span>setTextWrap()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setTextWrap </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>w</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Toggles automatic wrapping of text printed to the screen. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">w</td><td>Wrapping (0) off -OR- (1) on. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ac14657a04ed12e44cab5ba388833e377"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac14657a04ed12e44cab5ba388833e377">&#9670;&nbsp;</a></span>sleepWakeDisplay()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void sleepWakeDisplay </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>i</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Toggle the display's sleep/wake mode. Not supported by all displays. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function.</td></tr>
    <tr><td class="paramname">i</td><td>Set to 0 for awake and 1 for asleep. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a22751f0b2910a00490f575ffaf1f8dc8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a22751f0b2910a00490f575ffaf1f8dc8">&#9670;&nbsp;</a></span>updateDisplay()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void updateDisplay </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="html/simplegfx_8h.html#a6683848a2d0e444c2d71bbf6b588a30b">screen_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Updates the display by writing the image buffer to it. Not necessary for screens that have their own image buffers. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>Pointer to the display's device structure returned by the initialization function. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="html/http://www.doxygen.org/index.html">
<img class="footer" src="html/doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>