[Pharo-users] CrossMorph in PBE and compositing bug

Hilaire hilaire at drgeo.eu
Fri Dec 26 14:58:12 EST 2014


Morph color can be set to translucent, in your example it is problably
set with ColorTranslucent r:g:b or a similar class. Not sure about the name.


Le 26/12/2014 20:43, Edward Povazan a écrit :
> Hello,
> In the PBE example, and CrossMorph is created. As can be seen from its name, It is has a cross shape.
> When one adds keyboard handling to move it about, it seems the compositor thinks it is opaque, and doesn’t repaint the “not cross” areas with whatever is behind the morph.
> The result is the shape smears across the screen.
> This only occurs when moving exactly horizontally or vertically.
> I’ve been looking over the Morph API but can’t detect a method like #opaque: or #translucent: or similar.
> Is this a bug, or am I missing the correct way to deal with transparent/irregular shaped morphs?
> Thanks,
> -Ed

Dr. Geo - http://drgeo.eu
iStoa - http://istoa.drgeo.eu

More information about the Pharo-users mailing list