summaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorscuri <scuri>2010-08-11 18:59:02 +0000
committerscuri <scuri>2010-08-11 18:59:02 +0000
commit9cbce601c709dc301887316d8952567ceee341c2 (patch)
tree8d3ff78219d32f1df61955acb7743388e5f0150b /html
parent7709d543806354bf7fbe405f7761830e463d9bc3 (diff)
# Fixed: cdCanvasClear not considering the transparency of the background color in the GDI+ base driver and in the CD_GL driver.
# Fixed: background transparency was not being considered when backopacity was set to OPAQUE after the background color was set in the GDI+ base driver.
Diffstat (limited to 'html')
-rw-r--r--html/en/drv/gdiplus.html5
-rw-r--r--html/en/func/filled.html7
-rw-r--r--html/en/history.html8
3 files changed, 12 insertions, 8 deletions
diff --git a/html/en/drv/gdiplus.html b/html/en/drv/gdiplus.html
index 2229207..027fda8 100644
--- a/html/en/drv/gdiplus.html
+++ b/html/en/drv/gdiplus.html
@@ -82,11 +82,6 @@
</ul>
<h4>Attributes </h4>
<ul>
- <li><a href="../func/filled.html#cdBackOpacity"><font face="Courier"><strong>
- BackOpacity</strong></font></a>: only changes the transparency of the background color to 0 (transparent) or 255
- (opaque).</li>
- <li><a href="../func/filled.html#cdHatch"><font face="Courier"><strong>Hatch</strong></font></a>:
- diagonal styles are drawn with anti-aliasing.</li>
<li><a href="../func/attributes.html#cdWriteMode"><font face="Courier">
<strong>
WriteMode</strong></font></a>: does nothing. There is no support for XOR or NOT_XOR.</li>
diff --git a/html/en/func/filled.html b/html/en/func/filled.html
index 036f015..447bf9a 100644
--- a/html/en/func/filled.html
+++ b/html/en/func/filled.html
@@ -114,9 +114,10 @@ canvas:wChord(xc, yc, w, h, angle1, angle2: number) (WC) [in Lua]</pre>
canvas:BackOpacity(opacity: number) -&gt; (old_opacity: number) [in Lua]</pre>
<p>Configures the background opacity to filling primitives based on the
- foreground and background colors. Values: <font><b>
+ foreground and background colors. Note that only when InteriorStyle is <b>
+ CD_HATCH</b> or <b>CD_STIPPLE</b> that backopacity is used. Values: <font><b>
CD_TRANSPARENT</b></font> or <b>CD_OPAQUE</b>. If it is opaque
- the primitive will erase whatever is in background with the background color.
+ the primitive will erase whatever is in the background with the background color.
If it is transparent, only the foreground color is painted. It returns the previous value. Default value: <b>
CD_TRANSPARENT</b>. Value <b><b>CD_QUERY</b> </b>simply returns the
current value. In some drivers is always opaque.</p>
@@ -140,7 +141,7 @@ canvas:InteriorStyle(style: number) -&gt; (old_style: number) [in Lua]</pre>
<p>Configures the current style for the area filling primitives: <b>
CD_SOLID</b>, <strong><b>CD_HOLLOW</b></strong>, <b>CD_HATCH</b>,
- <b>CD_STIPPLE</b> or <b>CD_PATTERN</b>. Note that <b>
+ <b>CD_STIPPLE</b> or <b>CD_PATTERN</b>. Note that only <b>
CD_HATCH</b> and <b>CD_STIPPLE</b> are affected by the backopacity. It returns the previous value. Default value: <b>CD_SOLID</b>. Value
<b><b>CD_QUERY</b> </b>simply returns the
current value.</p>
diff --git a/html/en/history.html b/html/en/history.html
index 1a11558..678a7b5 100644
--- a/html/en/history.html
+++ b/html/en/history.html
@@ -38,6 +38,14 @@
<li>
<span class="hist_fixed">Fixed:</span> canvas:Transform when nil is used
to reset the transformation.</li>
+ <li>
+ <span class="hist_fixed">Fixed:</span> <strong>cdCanvasClear</strong>
+ not considering the transparency of the background color in the GDI+
+ base driver and in the CD_GL driver.</li>
+ <li>
+ <span class="hist_fixed">Fixed:</span> background transparency was not
+ being considered when backopacity was set to OPAQUE after the background
+ color was set in the GDI+ base driver.</li>
</ul>
<h3><a href="http://sourceforge.net/projects/canvasdraw/files/5.4/">Version 5.4</a> (24/June/2010)</h3>
<ul>