[Mono-dev] Bitmap manipulation - am I doing it right?

Robert Bielik robert.bielik at xponaut.se
Wed Apr 1 01:50:03 EDT 2009

Stifu skrev:
> 2) How would you do this, technically? Because the only solution that comes
> to my mind is to clone a little part of my Bitmap to create the temporary
> copy... and making a sub-sized clone of a Bitmap is actually much slower
> than making a full clone. So it'd be actually slower than my current
> implementation.

Make a clone which you then hold on to, and only let it grow bigger. Then you use that bitmap
for the operation, i.e. it only has to be created once, used many times. Makes sense?


More information about the Mono-devel-list mailing list