Updated docs
This commit is contained in:
30
doc/doc_files/activefont.html
Normal file
30
doc/doc_files/activefont.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>ActiveFont [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>Function ActiveFont() </h2></p>
|
||||
<p>
|
||||
Returns the current font that will be used with DrawText
|
||||
</p>
|
||||
<p id="rc_code"><code>
|
||||
test_font = LoadFont<b>(</b><span class="rc_string">"test_font.ttf"</span>, <span class="rc_number">12</span><b>)</b> <br>
|
||||
SetFont<b>(</b>test_font<b>)</b> <br>
|
||||
<span class="rc_keyword">If</span> ActiveFont<b>(</b><b>)</b> = test_font <span class="rc_keyword">Then</span> <br>
|
||||
<span class="rc_keyword">Print</span> <span class="rc_string">"Test Font is active"</span> <br>
|
||||
<span class="rc_keyword">End</span> <span class="rc_keyword">If</span> <br>
|
||||
</code></p>
|
||||
<br><p>Related:
|
||||
<a href="loadfont.html">LoadFont</a>
|
||||
<a href="setfont.html">SetFont</a>
|
||||
<a href="drawtext.html">DrawText</a>
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user