From d117dc8f75933e4e2b780afbb2f50756c140bdea Mon Sep 17 00:00:00 2001 From: scuri Date: Fri, 18 Jun 2010 14:41:54 +0000 Subject: *** empty log message *** --- html/en/func/text.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'html/en/func/text.html') 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) -> (width, heigth: number) (WC) [in Lua]

void cdCanvasGetTextBounds(cdCanvas* canvas, int x, int y, const char *text, int *rect); [in C] void wdCanvasGetTextBounds(cdCanvas* canvas, double x, double y, const char* text, double *rect); (WC) [in C] -canvas:GetTextBounds(x, y: number, text: string) -> (rect0, rect1, rect2, rect3, rect4, rect5, rect6, rect7: number) [in Lua] -canvas:wGetTextBounds(x, y: number, text: string) -> (rect0, rect1, rect2, rect3, rect4, rect5, rect6, rect7: number) (WC) [in Lua] +canvas:GetTextBounds(x, y: number, text: string) -> (rect: table) [in Lua] +canvas:wGetTextBounds(x, y: number, text: string) -> (rect: table) (WC) [in Lua]

Returns the oriented bounding rectangle occupied by a text at a given position. The rectangle has the same dimentions returned by -- cgit v1.2.3