summaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorscuri <scuri>2009-11-27 22:44:15 +0000
committerscuri <scuri>2009-11-27 22:44:15 +0000
commitd96819756a30e82b52798487343a4fcbdec11a88 (patch)
tree628d1c0bc03ee7eb443dba2850d34b589f2d32c1 /html
parentc4ca69d3fa84dca98dce71c7a71b61413d6be165 (diff)
Fixed: polygon filling in the IMAGERGB driver when the segments contain horizontal lines.
Diffstat (limited to 'html')
-rw-r--r--html/en/cdluaim.html7
-rw-r--r--html/en/drv/irgb.html7
-rw-r--r--html/en/history.html7
3 files changed, 13 insertions, 8 deletions
diff --git a/html/en/cdluaim.html b/html/en/cdluaim.html
index 6629558..72b3c77 100644
--- a/html/en/cdluaim.html
+++ b/html/en/cdluaim.html
@@ -38,11 +38,12 @@ and IMLua were initialized. require&quot;cdluaim&quot; can also be used. <br>
<p>Creates a cdBitmap from an imImage, but reuses image data. When the
cdBitmap is destroyed, the data is preserved. </p>
<pre class="function">image:cdCanvasPutImageRect(canvas: cdCanvas, x: number, y: number, w: number, h: number, xmin: number, xmax: number, ymin: number, ymax: number) [in Lua] </pre>
-<p>&nbsp;&nbsp;&nbsp; Draws the imImage into the given cdCanvas. The imImage must be a
-bitmap image, see \ref imImageIsBitmap. </p>
+<p>&nbsp;&nbsp;&nbsp; Draws the imImage into the given cdCanvas. The imImage
+must be a bitmap image, see <strong>imImageIsBitmap</strong> in IM documentation. </p>
<pre class="function">image:wdCanvasPutImageRect(canvas: cdCanvas, x: number, y: number, w: number, h: number, xmin: number, xmax: number, ymin: number, ymax: number) [in Lua] </pre>
<p>Draws the imImage into the given cdCanvas using world coordinates. The
-imImage must be a bitmap image, see \ref imImageIsBitmap. </p>
+imImage must be a bitmap image, see <strong>imImageIsBitmap</strong> in IM
+documentation. </p>
<pre class="function">image:cdCanvasGetImage(canvas: cdCanvas, x: number, y: number) [in Lua] </pre>
<p>Retrieve the imImage data from the given cdCanvas. The imImage must be a
IM_RGB/IM_BYTE image. </p>
diff --git a/html/en/drv/irgb.html b/html/en/drv/irgb.html
index 0689dfc..20101b6 100644
--- a/html/en/drv/irgb.html
+++ b/html/en/drv/irgb.html
@@ -31,7 +31,8 @@ or
<p>It must include the canvas' dimensions.<font face="Courier"> Width</font> and <font face="Courier">height</font>
are provided in pixels (note the lowercase &quot;x&quot; between them). As an option, you can specify the buffers to be used by
- the driver, so that you can draw over an existing image. The resolution can be defined with parameter
+ the driver, so that you can draw over an existing image, [r g b] or [r g b a]
+ are pointers to the component buffer, just like PutImageRectRGB/A. The resolution can be defined with parameter
<font face="Courier">-r</font>; its default value is &quot;3.78 pixels/mm&quot; (96 DPI).&nbsp;</p>
<p>When the parameter -a is specified an alpha channel will be added to the
canvas underlying image. All primitives will be composed using an over operator
@@ -45,11 +46,11 @@ They are not initialized when allocated by the application.</p>
<a href="../func/init.html#cdKillCanvas"><strong>cdKillCanvas</strong></a> is required to
release internal allocated memory.</p>
<p>In Lua, the canvas can be created in two ways: with an already defined image or without it. With an image, an RGB
- image must be passed as parameter, created by functions <strong>
+ image must be passed as parameter instead of the string, created by functions <strong>
<a href="../func/client.html#cdCreateImageRGB">cd.CreateImageRGB</a>,</strong>
<strong><a href="../func/client.html#cdCreateImageRGBA">cd.CreateImageRGBA</a></strong> or <strong>
<a href="../func/client.html#cdCreateBitmap">cd.CreateBitmap</a></strong>
- in Lua. The resolution must be passed in an extra parameter after the image.</p>
+ in Lua. The resolution must be passed in a second parameter after the image.</p>
<h3>Exclusive Functions</h3>
diff --git a/html/en/history.html b/html/en/history.html
index 81db388..b44d176 100644
--- a/html/en/history.html
+++ b/html/en/history.html
@@ -19,7 +19,7 @@
<body>
<h2>History of Changes</h2>
-<h3>CVS (27/Oct/2009)</h3>
+<h3>CVS (27/Nov/2009)</h3>
<ul>
<li><span class="style1">Changed</span><span class="hist_changed">:</span>
Freetype updated to version 2.3.11.</li>
@@ -37,9 +37,12 @@
objects in Lua.</li>
<li><span style="color: #FF0000">Fixed:</span> <strong>CanvasText</strong>
for WD when using text with multiple lines.</li>
- <li><span style="color: #FF0000">Fixed:</span> compositing in IMAGERGB when
+ <li><span style="color: #FF0000">Fixed:</span> compositing in the IMAGERGB
+ driver when
canvas has a semi-transparent alpha channel and a color with semi transparent alpha
are used.</li>
+ <li><span style="color: #FF0000">Fixed:</span> polygon filling in the IMAGERGB
+ driver when the segments contain horizontal lines.</li>
</ul>
<h3><a href="http://sourceforge.net/projects/canvasdraw/files/5.2/">Version 5.2</a> (26/Jun/2009)</h3>
<ul>