[Mono-devel-list] Bugfixing: libgdiplus help needed

Juraj Skripsky js at hotfeet.ch
Thu Nov 11 14:48:24 EST 2004


Hello,

I'm trying to fix Bug #69089 in libgdiplus. What I did so far is
optimize the algorithms for speed and reduce rotate_90 and rotate_270
two one function, which handles both cases. I attached the patch to the
bug.

Now I'm having problems with the last step of the rotation function. I
need to switch height and width in all relevant data structures and
replace the bitmap with its rotated counterpart. That's were I'm lost.

Why does GpBitmap contain height and width twice? What other data
structures have to be updated as well? What does result->data.Reserved
&& GBD_OWN_SCAN0 mean?

Answers and pointers are greatly appreciated.

- Juraj




More information about the Mono-devel-list mailing list