How to insert an image into a PolygonMorph?

Posted by hanneswurstes on Stack Overflow See other posts from Stack Overflow or by hanneswurstes
Published on 2010-01-13T17:03:40Z Indexed on 2011/01/11 22:53 UTC
Read the original article Hit count: 116

Filed under:
|
|

I need to get a texture into a PolygonMorph, but these seem to require an InfiniteForm as color/ filling.

The InfiniteForm is no solution as i need to rotate the PolygonMorph later on and moving the PolygonMorph around also has sideeffects on the displayed texture.
It would be very useful if it would be possible to scale the inserted texture as well.

How would you do this without replacing the existing PolygonMorph (or at least keeping the PolygonMorph's shape)?

© Stack Overflow or respective owner

Related posts about smalltalk

Related posts about squeak