[Mono-list] DrawingArea, DrawPixbuf, is slow?

Peter Dennis Bartok peter at novonyx.com
Sun May 22 03:24:05 EDT 2005


Not sure I fully understood what you mean, but it sounds like you're making 
the pixel buffer bigger when the user zooms, and you're drawing everything 
scaled up? Why not just use a transformation that scales the surface? That 
way you keep the surface the same size, System.Drawing just draws it 
'bigger'.

Peter

-----Original Message-----
From: "Phillip Neumann" <bob at sofsis.cl>
To: <mono-list at lists.ximian.com>
Date: 22 May, 2005 00:31
Subject: [Mono-list] DrawingArea, DrawPixbuf, is slow?


>Hello.
>
>Im trying to maka a drawingarea work quick when drawing a big pixbuf
>wich is scaled up.
>
>
>the idea is to let the user Zoom the image in/out.
>
>Here is the code.
>
>When you open i.e. a 800x800 image, and set the zoom to 5X is gets slow.
>
>
>How could this be made quickier?
>
>
>
>thank you in advance,
>
>
>Phillip.
> 



More information about the Mono-list mailing list