diff options
Diffstat (limited to 'html/en/samples.html')
-rw-r--r-- | html/en/samples.html | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/html/en/samples.html b/html/en/samples.html index 27692ab..72fdc07 100644 --- a/html/en/samples.html +++ b/html/en/samples.html @@ -8,7 +8,7 @@ <body> -<h1>Samples</h1> +<h2>Samples</h2> <h3><a name="Simple Draw">Simple Draw</a></h3> <p>This is an example of a simple drawing program using a IUP canvas: </p> @@ -72,8 +72,7 @@ cdKillCanvas(canvas);</pre> <h3>Generating an EMF file that contains an IM Image in Lua</h3> -<pre> -image = im.FileImageLoadBitmap(image_filename) +<pre>image = im.FileImageLoadBitmap(image_filename) canvas = cd.CreateCanvas(cd.EMF,emf_filename.." "..image:Width().."x"..image:Height()) image:cdCanvasPutImageRect(canvas,0,0,0,0) cd.KillCanvas(canvas) |