From 844ca3e107bd7a7f63d023642bb49618be96c68f Mon Sep 17 00:00:00 2001
From: scuri
int cdCanvasLineWidth(cdCanvas* canvas, int width); [in C]
double wdCanvasLineWidth(double width_mm); (WC) [in C] +int cdCanvasLineWidth(cdCanvas* canvas, int width); [in C]
diff --git a/html/en/samples.html b/html/en/samples.html index f29f855..27692ab 100644 --- a/html/en/samples.html +++ b/html/en/samples.html @@ -15,7 +15,7 @@ -
double wdCanvasLineWidth(cdCanvas* canvas, double width_mm); (WC) [in C] canvas:LineWidth(width: number) -> (old_width: number) [in Lua] canvas:wLineWidth(width_mm: number) -> (old_width_mm: number) (WC) [in Lua]cdCanvas* canvas = cdCreateCanvas(CD_NATIVEWINDOW, IupGetAttribute(IupCanvas,"CONID"));+
cdCanvasLineStyle(canvas, CD_DASHED);
cdCanvasLine(canvas, 0, 0, 100, 100);
cdCanvasKillCanvas(canvas);cdCanvas* canvas = cdCreateCanvas(CD_NATIVEWINDOW, IupGetAttribute(IupCanvas,"CONID"));-- cgit v1.2.3
cdCanvasLineStyle(canvas, CD_DASHED);
cdCanvasLine(canvas, 0, 0, 100, 100);
cdKillCanvas(canvas);