diff options
author | scuri <scuri> | 2010-06-24 20:32:39 +0000 |
---|---|---|
committer | scuri <scuri> | 2010-06-24 20:32:39 +0000 |
commit | 1ad72d5276b1876bf218336a1ff47f086a0834c9 (patch) | |
tree | 6d66a57e994c21b579e8e600859365d363d57c34 /html/en/func/region.html | |
parent | 3ba2df20bc93a97c479c4021a9218eadcf5d850f (diff) |
*** empty log message ***
Diffstat (limited to 'html/en/func/region.html')
-rw-r--r-- | html/en/func/region.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/html/en/func/region.html b/html/en/func/region.html index 59874b8..985bf23 100644 --- a/html/en/func/region.html +++ b/html/en/func/region.html @@ -39,7 +39,7 @@ <p>Complex clipping regions are not saved by <strong>cdSaveState</strong>.</p> <hr> -<pre class="function"><span class="mainFunction">int cdCanvasRegionCombineMode(cdCanvas* canvas, int mode); [in C]</span> +<div class="function"><pre class="function"><span class="mainFunction">int cdCanvasRegionCombineMode(cdCanvas* canvas, int mode); [in C]</span> canvas:RegionCombineMode(mode: number) -> (old_mode: number) [in Lua]</pre> @@ -50,7 +50,7 @@ canvas:RegionCombineMode(mode: number) -> (old_mode: number) [in Lua]</pre> <p align="center"><font size="4">Combine Modes<br> </font><img src="../../img/regions.gif" border="2" width="297" height="361"></p> -<pre class="function"><span class="mainFunction">int cdCanvasIsPointInRegion(cdCanvas* canvas, int x, int y); [in C]</span> +</div><div class="function"><pre class="function"><span class="mainFunction">int cdCanvasIsPointInRegion(cdCanvas* canvas, int x, int y); [in C]</span> int wdCanvasIsPointInRegion(cdCanvas* canvas, double x, double y); (WC) [in C] canvas:IsPointInRegion(x, y: number) -> (status: boolean) [in Lua] @@ -59,7 +59,7 @@ canvas:wIsPointInRegion(x, y: number) -> (status: boolean) [in Lua]</pre> <p>Returns a non zero value if the point is contained inside the current region.</p> -<pre class="function"><span class="mainFunction">void cdCanvasOffsetRegion(cdCanvas* canvas, int dx, int dy); [in C]</span> +</div><div class="function"><pre class="function"><span class="mainFunction">void cdCanvasOffsetRegion(cdCanvas* canvas, int dx, int dy); [in C]</span> void wdCanvasOffsetRegion(cdCanvas* canvas, double dx, double dy); (WC) [in C] canvas:OffsetRegion(dx, dy: number) [in Lua] @@ -69,7 +69,7 @@ canvas:wOffsetRegion(dx, dy: number) (WC) [in Lua]</pre> moves to outside the canvas border, the part moved outside will be lost, the region will need to be reconstructed.</p> -<pre class="function"><span class="mainFunction">void cdCanvasGetRegionBox(cdCanvas* canvas, int *xmin, int *xmax, int *ymin, int *ymax); [in C]</span> +</div><div class="function"><pre class="function"><span class="mainFunction">void cdCanvasGetRegionBox(cdCanvas* canvas, int *xmin, int *xmax, int *ymin, int *ymax); [in C]</span> void wdCanvasGetRegionBox(cdCanvas* canvas, double *xmin, double *xmax, double *ymin, double *ymax); (WC) [in C] canvas:GetRegionBox() -> (xmin, xmax, ymin, ymax, status: number) [in Lua] @@ -79,7 +79,7 @@ canvas:wGetRegionBox() -> (xmin, xmax, ymin, ymax, status: number) (WC) [in L necessary to provide all return pointers, you can provide only the desired values and <i><tt>NULL</tt></i> for the others.</p> - +</div> </body> </html> |