DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2583 Version: 1.3-current Currently the __APPLE__ code in unittest_images.cxx calls fl_draw_image() for all image types, because it just works. This can be replaced by fl_draw_image(..., format) with format = { FL_IMAGE_DATA_RGBA | FL_IMAGE_DATA_LA }, resp. for those calls (image formats) that have an alpha channel, whereas the formats w/o alpha can call the old version w/o format for compatibility reasons. Eventually this should work for all platforms... fl_draw_image_mono() was only necessary if delta>2, but was not defined to use the alpha channel. This can always be replaced with an appropriate value of the format argument (once everything is done). FYI: I have a working Windows version now, but this needs some more cleanup and maybe a little redesign. I also believe that I found some incompatibilities in the printing device versions. This needs more investigation. I'll post my patch ASAP. BTW: I agree that the undocumented flag FL_IMAGE_WITH_ALPHA should be removed, and I hope that this doesn't break existing code. At least there will be another way to achieve the same effect with the format argument. Link: http://www.fltk.org/str.php?L2583 Version: 1.3-current _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
