Rotating a String or Text Morph

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Rotating a String or Text Morph

Carla F. Griggio
Hi everyone!

I'm trying to rotate a String or Text Morph. The way I'm doing this is evaluating:

transform:= (TransformationMorph new asFlexOf: 'hola' asStringMorph) openInWorld .

The string morph opens in the world and it looks OK. Now, I rotate it doing:

transform angle: 80.

And it rotates OK, but a black background appears and I don't know how to remove that, I can't find what's making that black background appear.

Am I doing something wrong? Is there another way to rotate a string morph?

Thank you!

Carla

_______________________________________________
Pharo-users mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
Reply | Threaded
Open this post in threaded view
|

Re: Rotating a String or Text Morph

Mariano Martinez Peck
Hi Carla. Yes, this is a known problem. I am not sure what is the status neither if there is a fix.  Read:

http://forum.world.st/Problem-with-TransformationMorph-td1691811.html#a1691811

http://forum.world.st/Canvas-transform-bug-when-rendering-text-td1754208.html#a1754248

http://code.google.com/p/pharo/issues/detail?id=2207

Let us know.

Cheers

Mariano

On Sat, Jul 31, 2010 at 1:08 AM, Carla F. Griggio <[hidden email]> wrote:
Hi everyone!

I'm trying to rotate a String or Text Morph. The way I'm doing this is evaluating:

transform:= (TransformationMorph new asFlexOf: 'hola' asStringMorph) openInWorld .

The string morph opens in the world and it looks OK. Now, I rotate it doing:

transform angle: 80.

And it rotates OK, but a black background appears and I don't know how to remove that, I can't find what's making that black background appear.

Am I doing something wrong? Is there another way to rotate a string morph?

Thank you!

Carla

_______________________________________________
Pharo-users mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users



_______________________________________________
Pharo-users mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users