mono / libgdiplus

C-based implementation of the GDI+ API
http://www.mono-project.com/
MIT License
329 stars 171 forks source link

Clean up memory management of gdip_process_bitmap_attributes #651

Closed filipnavara closed 4 years ago

filipnavara commented 4 years ago

Instead of manually fiddling with various pointers inside the GpBitmap structure and using fragile manipulation of the Cairo surface object just keep a full GpBitmap object copy when any image attributes are applied.