From c4ca69d3fa84dca98dce71c7a71b61413d6be165 Mon Sep 17 00:00:00 2001 From: scuri Date: Tue, 27 Oct 2009 19:45:36 +0000 Subject: Fixed: compositing in IMAGERGB when canvas has a semi-transparent alpha channel and a color with semi transparent alpha are used. --- html/en/func/attributes.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'html/en/func/attributes.html') 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] color is used in all primitives (lines, areas, marks and text). Default value: CD_BLACK. Value CD_QUERY simply returns the current value.

-

Notice that CD_QUERY conflicts with color RGBA=(255,255,255,255) (full +

Notice that CD_QUERY conflicts with color RGBA=(255,255,255,0) (full transparent white). Use SetForeground to avoid the conflict. See also Color Coding.

long int cdCanvasBackground(cdCanvas* canvas, long int color); [in C]
@@ -31,7 +31,7 @@ canvas:SetBackground(color: lightuserdata) [in Lua]
background color only makes sense for Clear and for primitives affected by the background opacity attribute. Default value: CD_WHITE. Value CD_QUERY simply returns the current value.

-

Notice that CD_QUERY conflicts with color RGBA=(255,255,255,255) (full +

Notice that CD_QUERY conflicts with color RGBA=(255,255,255,0) (full transparent white). Use SetBackground to avoid the conflict. See also Color Coding.

int cdCanvasWriteMode(cdCanvas* canvas, int mode); [in C]
-- 
cgit v1.2.3