Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
gc:drawString
31 bytes added
,
17:25, 27 October 2011
no edit summary
Line 25:
Line 25:
|}
|}
== Example ==
== Example ==
−
<syntaxhighlight>gc:drawString("Hello World", 0, 0, "top")</syntaxhighlight>
+
<syntaxhighlight>
function on.paint(gc)
+
gc:drawString("Hello World", 0, 0, "top")
+
end
</syntaxhighlight>
will display Hello World at the top-left part of the screen.
will display Hello World at the top-left part of the screen.
<br /><br />
<br /><br />
[[Category:gc]]
[[Category:gc]]
Adriweb
Bureaucrats
,
Administrators
935
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version