diff options
author | scuri <scuri> | 2011-09-27 19:06:19 +0000 |
---|---|---|
committer | scuri <scuri> | 2011-09-27 19:06:19 +0000 |
commit | 18dc8b841de3c7acf274fe4a2fb21a37091c6cb0 (patch) | |
tree | 5561e206f2bf9d3dba3f9d3c8dcc076dfe0e97f2 /html/en/func | |
parent | 6b4dae19b6770b5b151afed4548228488e4ad771 (diff) |
*** empty log message ***
Diffstat (limited to 'html/en/func')
-rw-r--r-- | html/en/func/coordinates.html | 13 |
1 files changed, 8 insertions, 5 deletions
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]</pr canvas:YAxisMode(invert: number) -> (old_invert: number) [in Lua]</pre> - <p>Controls the orientation of the Y axis. Internally in some drivers the + <p>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.</p> + the current Y axis mode, if needs to be inverted internally or not.</p> + <p>Using 1 or 0 you can + control if the Y axis will be inverted or not. But this is <strong>not</strong> + 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.</p> </div><div class="function"><pre class="function"><span class="mainFunction">int <a name="cdUpdateYAxis">cdCanvasUpdateYAxis</a>(cdCanvas* canvas, int *y); [in C]</span> double cdfCanvasUpdateYAxis(cdCanvas* canvas, double *y); [in C] |