From 9cbce601c709dc301887316d8952567ceee341c2 Mon Sep 17 00:00:00 2001 From: scuri Date: Wed, 11 Aug 2010 18:59:02 +0000 Subject: # 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. --- html/en/func/filled.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'html/en/func') 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] canvas:BackOpacity(opacity: number) -> (old_opacity: number) [in Lua]

Configures the background opacity to filling primitives based on the - foreground and background colors. Values: + foreground and background colors. Note that only when InteriorStyle is + CD_HATCH or CD_STIPPLE that backopacity is used. Values: CD_TRANSPARENT or CD_OPAQUE. 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: CD_TRANSPARENT. Value CD_QUERY simply returns the current value. In some drivers is always opaque.

@@ -140,7 +141,7 @@ canvas:InteriorStyle(style: number) -> (old_style: number) [in Lua]

Configures the current style for the area filling primitives: CD_SOLID, CD_HOLLOW, CD_HATCH, - CD_STIPPLE or CD_PATTERN. Note that + CD_STIPPLE or CD_PATTERN. Note that only CD_HATCH and CD_STIPPLE are affected by the backopacity. It returns the previous value. Default value: CD_SOLID. Value CD_QUERY simply returns the current value.

-- cgit v1.2.3