[Pharo-project] Problem with TransformationMorph

Henrik Johansen henrik.s.johansen at veloxit.no
Fri Mar 26 10:14:55 CET 2010


It's not fixed in Squeak.
WarpBlt does not work with alpha 0 > < 1.
Another example is rotating a systemwindow (from the halo menu), its dropshadow will be pure black. (i.e. all non-transparent pixels are rendered with their pure RGB component)

Cheers,
Henry

(TransformationMorph is removed in Cuis 2.3, rotate halo button is there, but not working)

On Mar 26, 2010, at 9:31 39AM, Stéphane Ducasse wrote:

> lukas 
> 
> did you check in the latest version of squeak because I saw some fixes about put Morph in TextMorph?
> Also in Cuis 2.0 because I imagine that juan got the same transformation. Now it seems that he changed that.
> 
> Stef
> On Mar 26, 2010, at 8:58 AM, Lukas Renggli wrote:
> 
>> I noticed a problem with transformation morphs and created a bug report:
>> 
>>  http://code.google.com/p/pharo/issues/detail?id=2207
>> 
>> The problem seems to be that the transformation morph creates a black
>> rectangle on the rotated clipping bounds. I does not only happen with
>> TextMorphs but also with (some) other morphs. I tried to convert the
>> TextMorph to a SketchMorph and the same happens there. I have no idea
>> how to fix that problem. I need a solution because eCompletion rotates
>> some text by 90, which is currently not possible.
>> 
>> | stringMorph transformationMorph |
>> stringMorph := 'vertical text' asMorph.
>> transformationMorph := TransformationMorph new asFlexOf: stringMorph.
>> transformationMorph angle: Float pi / 2.
>> transformationMorph position: 5 at 5.
>> transformationMorph openInWorld.
>> 
>> Lukas
>> 
>> --
>> Lukas Renggli
>> http://www.lukas-renggli.ch
>> 
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project at lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> 
> 
> _______________________________________________
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> 





More information about the Pharo-project mailing list