added ag.fillArc() and ag.fillCircle() and associated documentation
git-svn-id: svn://anubis/anaglym/trunk@275 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
1 parent
a646edfaa2
commit
50bf5c1a0a
7 files changed
+112
-2
No files matched your search
@@ -344,6 +344,32 @@ will be executed and callbacks to other events may still be called.
|
||||
The engine should exit within one update step.
|
||||
</p>
|
||||
|
||||
<a name="ag_fillArc" />
|
||||
<h3>fillArc</h3>
|
||||
<p><tt>ag.fillArc(r, g, b, x, y, radius, a1, a2)</tt></p>
|
||||
<p>
|
||||
This function tells the engine to draw a filled-in arc to the screen.
|
||||
The color of the arc is specified by (r, g, b).
|
||||
<tt>x</tt> and <tt>y</tt> specify the coordinates of the center
|
||||
of the arc.
|
||||
The arc ranges from angle <tt>a1</tt> to <tt>a2</tt>, which are
|
||||
specified in degrees, going counter-clockwise from the East.
|
||||
<tt>fillArc()</tt> should normally be called from the
|
||||
<tt>update_overlay</tt> event handler.
|
||||
</p>
|
||||
|
||||
<a name="ag_fillCircle" />
|
||||
<h3>fillCircle</h3>
|
||||
<p><tt>ag.fillCircle(r, g, b, x, y, radius)</tt></p>
|
||||
<p>
|
||||
This function tells the engine to draw a solid circle to the screen.
|
||||
The color of the circle is specified by (r, g, b).
|
||||
<tt>x</tt> and <tt>y</tt> specify the coordinates of the center
|
||||
of the circle.
|
||||
<tt>fillCircle()</tt> should normally be called from the
|
||||
<tt>update_overlay</tt> event handler.
|
||||
</p>
|
||||
|
||||
<a name="ag_fillRect" />
|
||||
<h3>fillRect</h3>
|
||||
<p><tt>ag.fillRect(r, g, b, width, height, x, y [, rot])</tt></p>
|
||||
|
||||
Reference in new issue
Block a user