Thanks Igor. That was exactly what I was looking for.

Igor Stasenko wrote:
On 10 January 2013 14:42, Ben Coman <[email protected]> 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






Reply via email to