I���m still a beginner at Pharo and all so maybe I���ll say something wrong.

One thing I didn���t say is that I use osWindow. 
I load an image as a Form and display it using that code :

"surface drawDuring:[:canvas | 
canvas pathTransform translateBy: myImage position.
canvas pathTransform rotateByDegrees: anAngle.
canvas
setPaint: myImage image.
canvas drawShape: ((size x) negated @ (size y) negated corner: size).
].
�� 

myImage image. return the Form.

Le 19 mai 2015 �� 11:41, Nicolai Hess <nicolaihess@web.de> a ��crit :



2015-05-19 10:46 GMT+02:00 Christopher Coat <christopher.coat@inria.fr>:
Hi everybody,

Hi,
 

I���m currently creating a small app to display images and move them on a screen using Athens.
I have all my image loaded on start and I use a loop to clear the screen and redraw all the elements (on different place and angle) every frames.

The problem is that with morph, everything is fine, but as soon as I place a picture on a morph the FPS drop down. Even if the picture is a small one.

How do you draw the picture? Is it an ImageMorph or do you use directly Athens for drawing the image?

 
nicolai


Does anybody have faced the same issue ? Or is there any better way to do it ?

Thanks
Chris