mirror of
https://github.com/taigrr/arduinolibs
synced 2025-01-18 04:33:12 -08:00
Update docs
This commit is contained in:
@@ -1328,8 +1328,8 @@ class </td><td class="memItemRight" valign="bottom"><a class="el" href="cla
|
||||
<p>Sets the <em>font</em> for use with <a class="el" href="classBitmap.html#a3e9bcbfb584d5020bd6f0a313ee275f0" title="Draws the len characters of str at (x, y).">drawText()</a> and <a class="el" href="classBitmap.html#a1a11f29863ee7f36a3b15c91963102bd" title="Draws a single character ch at (x, y).">drawChar()</a>. </p>
|
||||
<div class="fragment"><pre class="fragment"><span class="preprocessor"> #include <DejaVuSans9.h></span>
|
||||
|
||||
display.setFont(DejaVuSans9);
|
||||
display.drawText(0, 0, <span class="stringliteral">"Hello"</span>);
|
||||
display.<a class="code" href="classBitmap.html#abf7adfceb267080aa9806388e96358c4" title="Sets the font for use with drawText() and drawChar().">setFont</a>(DejaVuSans9);
|
||||
display.<a class="code" href="classBitmap.html#a3e9bcbfb584d5020bd6f0a313ee275f0" title="Draws the len characters of str at (x, y).">drawText</a>(0, 0, <span class="stringliteral">"Hello"</span>);
|
||||
</pre></div><p>New fonts can be generated with <a href="https://code.google.com/p/glcd-arduino/downloads/detail?name=GLCDFontCreator2.zip&can=2&q=">GLCDFontCreator2</a>.</p>
|
||||
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classBitmap.html#ab6bd47cb892b47b4c69b422ace182b87" title="Returns the currently selected font, or null if none selected.">font()</a>, <a class="el" href="classBitmap.html#a3e9bcbfb584d5020bd6f0a313ee275f0" title="Draws the len characters of str at (x, y).">drawText()</a>, <a class="el" href="classBitmap.html#a1a11f29863ee7f36a3b15c91963102bd" title="Draws a single character ch at (x, y).">drawChar()</a> </dd></dl>
|
||||
|
||||
@@ -1591,7 +1591,7 @@ class </td><td class="memItemRight" valign="bottom"><a class="el" href="cla
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<hr class="footer"/><address class="footer"><small>Generated on Tue May 29 2012 15:23:58 for ArduinoLibs by 
|
||||
<hr class="footer"/><address class="footer"><small>Generated on Wed May 30 2012 15:44:34 for ArduinoLibs by 
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user