summaryrefslogtreecommitdiff
path: root/html/en/samples.html
diff options
context:
space:
mode:
authorscuri <scuri>2009-10-07 15:01:48 +0000
committerscuri <scuri>2009-10-07 15:01:48 +0000
commita9f58764aaf13d31c9927ead8b5d25b0ad4f5362 (patch)
treeb0f8a550fb27ac976cd8251ba2b27d1d0391816e /html/en/samples.html
parent3fa46531cbe092696d18526fbaa7c34dcba054c0 (diff)
*** empty log message ***
Diffstat (limited to 'html/en/samples.html')
-rw-r--r--html/en/samples.html5
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)