<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.spheredev.org/index.php?action=history&amp;feed=atom&amp;title=Legacy%3AFont%2FdrawZoomedText</id>
	<title>Legacy:Font/drawZoomedText - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.spheredev.org/index.php?action=history&amp;feed=atom&amp;title=Legacy%3AFont%2FdrawZoomedText"/>
	<link rel="alternate" type="text/html" href="http://wiki.spheredev.org/index.php?title=Legacy:Font/drawZoomedText&amp;action=history"/>
	<updated>2026-11-08T01:02:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>http://wiki.spheredev.org/index.php?title=Legacy:Font/drawZoomedText&amp;diff=900&amp;oldid=prev</id>
		<title>Apollolux: added navbox</title>
		<link rel="alternate" type="text/html" href="http://wiki.spheredev.org/index.php?title=Legacy:Font/drawZoomedText&amp;diff=900&amp;oldid=prev"/>
		<updated>2013-06-24T21:43:00Z</updated>

		<summary type="html">&lt;p&gt;added navbox&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:43, 24 June 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l44&quot;&gt;Line 44:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 44:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[API:FlipScreen|FlipScreen]]()&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[API:FlipScreen|FlipScreen]]()&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[API:GetKey|GetKey]]()&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[API:GetKey|GetKey]]()&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{API:Font/navbox}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Apollolux</name></author>
	</entry>
	<entry>
		<id>http://wiki.spheredev.org/index.php?title=Legacy:Font/drawZoomedText&amp;diff=884&amp;oldid=prev</id>
		<title>DaVince: Created.</title>
		<link rel="alternate" type="text/html" href="http://wiki.spheredev.org/index.php?title=Legacy:Font/drawZoomedText&amp;diff=884&amp;oldid=prev"/>
		<updated>2013-06-23T11:49:36Z</updated>

		<summary type="html">&lt;p&gt;Created.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Draw (write) a line of text on the screen using the specified font, zoomed in at the specified scale factor.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
{{Usage|object=Font|func=drawText|params=x, y, size, text}}&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; Integer. The x position on the screen where the text starts drawing.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;y&amp;#039;&amp;#039;&amp;#039; Integer. The y position of the text on the screen.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;size&amp;#039;&amp;#039;&amp;#039; Number. Scale the font by &amp;lt;tt&amp;gt;size&amp;lt;/tt&amp;gt; times. 1 is normal size.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;text&amp;#039;&amp;#039;&amp;#039; String. The text to display.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
{{template:col-begin}}&lt;br /&gt;
{{template:col-break|width=20%}}&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
var font = GetSystemFont();&lt;br /&gt;
font.drawZoomedText(10, 10, 1.5, &amp;quot;This text is zoomed in.&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
FlipScreen();&lt;br /&gt;
GetKey();&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{template:col-break}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
//Load the font to use&lt;br /&gt;
//Draw it, at one and a half its normal size&lt;br /&gt;
&lt;br /&gt;
//Now display it on the screen&lt;br /&gt;
//Now wait for user interaction&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{template:col-end}}&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
* Using \n for new lines doesn&amp;#039;t work with this function. drawText() is meant purely for drawing &amp;#039;&amp;#039;single line&amp;#039;&amp;#039; of text.&lt;br /&gt;
* The line width is infinite, so you can easily go past the screen width if your line is too long.&lt;br /&gt;
* If you&amp;#039;re going to use 1 as a scale, you might as well use regular [[Font.drawText]](). Unless you&amp;#039;re calculating the size (like in graphical animation effects).&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[API:GetSystemFont|GetSystemFont]]()&lt;br /&gt;
* [[Font.drawText]]()&lt;br /&gt;
* [[API:FlipScreen|FlipScreen]]()&lt;br /&gt;
* [[API:GetKey|GetKey]]()&lt;/div&gt;</summary>
		<author><name>DaVince</name></author>
	</entry>
</feed>