@Igor Thanks for the aclaration, I am quite new to pharo and I just wanted to help with what I've seen Cheers 2013/1/11 Ben Coman <btc@openinworld.com>
Thanks Igor. That was exactly what I was looking for.
Igor Stasenko wrote:
On 10 January 2013 14:42, Ben Coman <btc@openinworld.com> wrote:
I need to improve the performance of a lot of text that drawn on screen while the screen is being dragged around and would like to experiment with rendering the text to a bitmap buffer then painting that onto a canvas. How might that be achieved? And from Workspace can I test this? I have been searching for a couple of hours already so thought I'd just ask.
easy.
form := Form extent: 100@100 depth: 32.
canvas := form getCanvas. canvas drawString... whatever.
and then:
displayCanvas drawImage: form.
cheers -ben