[Gambas-user] Issue 142 in gambas: Graphical bug with labels.
gambas at ...2524...
gambas at ...2524...
Mon Dec 19 18:13:45 CET 2011
Updates:
Status: Fixed
Labels: -Version Version-TRUNK
Comment #1 on issue 142 by benoit.m... at ...626...: Graphical bug with labels.
http://code.google.com/p/gambas/issues/detail?id=142
It should be better with revision #4295, *but*:
"Transparent" Pictures are not really transparent, but use a bitmap mask.
So, when drawing text inside a "transparent" picture, a mask is created
that surrounds the text. But the text is anti-aliased, so some pixels are a
mix between the text color and the picture background, which is can be
random with a transparent picture (as its data is not initialized). So you
may have random pixels around the text.
If you need an intermediate buffer to draw your text, you can use an Image
and the Paint class in Gambas 3. Image can have an real alpha channel.
More information about the User
mailing list