Extend Carbon RawImage and Bitmap handling
Original Reporter info from Mantis: djenkins @dfjenkins
-
Reporter name: David Jenkins
Original Reporter info from Mantis: djenkins @dfjenkins
- Reporter name: David Jenkins
Description:
-
In TCarbonWidgetSet.RawImage_DescriptionFromCarbonBitmap ADesc.Depth
should be set to 1 if the bmp is monochrome (a mask). -
Add functionality to TCarbonWidgetSet.RawImage_FromCarbonBitmap so that Arect is actually
used and applied -
In TCarbonWidgetSet.GetImagePixelData the bitmapBytesPerRow should be DQuadWord aligned. If not then use of this function can cause memory tromping when the size isn't as expected.
Patch against rev 36681 attached
Mantis conversion info:
- Mantis ID: 21743
- Version: 0.9.30.5 (SVN)
- Fixed in revision: 36773 (#518bee76)
- Monitored by: » @dfjenkins (David Jenkins)