From 1ad72d5276b1876bf218336a1ff47f086a0834c9 Mon Sep 17 00:00:00 2001
From: scuri
void cdCanvasBegin(cdCanvas* canvas, int mode); [in C] +void cdCanvasBegin(cdCanvas* canvas, int mode); [in C] canvas:Begin(mode: number) [in Lua]
@@ -70,7 +70,7 @@ canvas:Begin(mode: number) [in Lua]Bezier Lines
-
void cdCanvasVertex(cdCanvas* canvas, int x, int y); [in C] +
void cdCanvasVertex(cdCanvas* canvas, int x, int y); [in C] void cdfCanvasVertex(cdCanvas* canvas, double x, double y); [in C] void wdCanvasVertex(cdCanvas* canvas, double x, double y); (WC) [in C] @@ -79,14 +79,14 @@ canvas:wVertex(x, y: number) (WC) [in Lua]
Adds a vertex to the polygon definition.
-void cdCanvasEnd(cdCanvas* canvas); [in C] +
void cdCanvasEnd(cdCanvas* canvas); [in C] canvas:End() [in Lua]
Ends the polygon's definition and draws it.
-void cdCanvasPathSet(cdCanvas* canvas, int action); [in C] +
void cdCanvasPathSet(cdCanvas* canvas, int action); [in C] canvas:PathSet(action: number) [in Lua]
@@ -151,7 +151,7 @@ cdCanvasVertex(canvas, x8, y8); /* start angle, end angle (degrees / 1000) */ cdCanvasPathSet(canvas, CD_PATH_STROKE); cdCanvasEnd(canvas); - +