summaryrefslogtreecommitdiff
path: root/html/en/func
diff options
context:
space:
mode:
authorscuri <scuri>2010-06-18 14:41:54 +0000
committerscuri <scuri>2010-06-18 14:41:54 +0000
commitd117dc8f75933e4e2b780afbb2f50756c140bdea (patch)
tree0afd7bbdb7bfe855f2fce18aaa7c60cebe1c8041 /html/en/func
parent370b2c90cfdfa99a13725e4d63d5a0158a140815 (diff)
*** empty log message ***
Diffstat (limited to 'html/en/func')
-rw-r--r--html/en/func/text.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/html/en/func/text.html b/html/en/func/text.html
index f3399dc..12a54cd 100644
--- a/html/en/func/text.html
+++ b/html/en/func/text.html
@@ -171,8 +171,8 @@ canvas:wGetTextSize(text: string) -&gt; (width, heigth: number) (WC) [in Lua]</p
<pre class="function"><span class="mainFunction">void <a name="cdTextBounds">cdCanvasGetTextBounds</a>(cdCanvas* canvas, int x, int y, const char *text, int *rect); [in C]</span>
void wdCanvasGetTextBounds(cdCanvas* canvas, double x, double y, const char* text, double *rect); (WC) [in C]
-canvas:GetTextBounds(x, y: number, text: string) -&gt; (rect0, rect1, rect2, rect3, rect4, rect5, rect6, rect7: number) [in Lua]
-canvas:wGetTextBounds(x, y: number, text: string) -&gt; (rect0, rect1, rect2, rect3, rect4, rect5, rect6, rect7: number) (WC) [in Lua]</pre>
+canvas:GetTextBounds(x, y: number, text: string) -&gt; (rect: table) [in Lua]
+canvas:wGetTextBounds(x, y: number, text: string) -&gt; (rect: table) (WC) [in Lua]</pre>
<p>Returns the oriented bounding rectangle occupied by a text at a given
position. The rectangle has the same dimentions returned by <strong>