diff options
author | scuri <scuri> | 2009-10-27 19:45:36 +0000 |
---|---|---|
committer | scuri <scuri> | 2009-10-27 19:45:36 +0000 |
commit | c4ca69d3fa84dca98dce71c7a71b61413d6be165 (patch) | |
tree | 8c149cd3deaf31fa406270b26a45982471c8b88e /html/en/func/attributes.html | |
parent | 8a059c0ddda38d88aee6c8657b41ef81adb0171c (diff) |
Fixed: compositing in IMAGERGB when canvas has a semi-transparent alpha channel and a color with semi transparent alpha are used.
Diffstat (limited to 'html/en/func/attributes.html')
-rw-r--r-- | html/en/func/attributes.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/html/en/func/attributes.html b/html/en/func/attributes.html index 60768e4..984af01 100644 --- a/html/en/func/attributes.html +++ b/html/en/func/attributes.html @@ -17,7 +17,7 @@ canvas:SetForeground(color: lightuserdata) [in Lua]</pre> color is used in all primitives (lines, areas, marks and text). Default value: <b> <tt>CD_BLACK</tt></b>. Value <tt><b>CD_QUERY</b> </tt>simply returns the current value.</p> - <p>Notice that CD_QUERY conflicts with color RGBA=(255,255,255,255) (full + <p>Notice that CD_QUERY conflicts with color RGBA=(255,255,255,0) (full transparent white). Use <strong>SetForeground</strong> to avoid the conflict. See also <a href="color.html">Color Coding</a>.</p> <pre class="function"><span class="mainFunction">long int <a name="cdBackground">cdCanvasBackground</a>(cdCanvas* canvas, long int color); [in C]</span> @@ -31,7 +31,7 @@ canvas:SetBackground(color: lightuserdata) [in Lua]</pre> background color only makes sense for <strong>Clear</strong><tt><font> </font></tt>and for primitives affected by the background opacity attribute. Default value: <b><tt>CD_WHITE</tt></b>. Value <tt><b>CD_QUERY</b> </tt>simply returns the current value.</p> - <p>Notice that CD_QUERY conflicts with color RGBA=(255,255,255,255) (full + <p>Notice that CD_QUERY conflicts with color RGBA=(255,255,255,0) (full transparent white). Use <strong>SetBackground</strong> to avoid the conflict. See also <a href="color.html">Color Coding</a>.</p> <pre class="function"><span class="mainFunction">int <a name="cdWriteMode">cdCanvasWriteMode</a>(cdCanvas* canvas, int mode); [in C]</span> |