From 18dc8b841de3c7acf274fe4a2fb21a37091c6cb0 Mon Sep 17 00:00:00 2001 From: scuri Date: Tue, 27 Sep 2011 19:06:19 +0000 Subject: *** empty log message *** --- html/en/func/coordinates.html | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'html/en/func/coordinates.html') diff --git a/html/en/func/coordinates.html b/html/en/func/coordinates.html index ce4ff9a..e8c45ea 100644 --- a/html/en/func/coordinates.html +++ b/html/en/func/coordinates.html @@ -22,13 +22,16 @@ canvas:GetSize() -> (width, height, mm_width, mm_height: number) [in Lua] -

Controls the orientation of the Y axis. Internally in some drivers the +

Returns the orientation of the Y axis. Internally in some drivers the native axis orientation is top-bottom, so the CD primitives must invert the Y axis since the CD orientation is bottom-top. Using CD_QUERY will return - the current Y axis mode, if needs to be invert or not. Using 1 or 0 you can - control if the Y axis should be inverted or not independent from the native - orientation, with that you can in fact invert the orientation of the CD - primitives.

+ the current Y axis mode, if needs to be inverted internally or not.

+

Using 1 or 0 you can + control if the Y axis will be inverted or not. But this is not + recommended, because it has several limitations. Only drivers that the + native axis orientation is inverted can be controlled, drivers that has the + same orientation of the CD library can not be controlled. If changed Vector + Text will always displays the text upside down.

int cdCanvasUpdateYAxis(cdCanvas* canvas, int *y); [in C]
 double cdfCanvasUpdateYAxis(cdCanvas* canvas, double *y); [in C]
-- 
cgit v1.2.3