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


Yes, it is possible to do it in either way on all platforms, but the code
is (... well ... let's say ...) grown over a long time, and there are
different strategies (subfunctions) on some platforms. IMHO this needs
some redesign to be manageable again... (I took a look at it when I fixed
a bug)

That said, maybe one more (optional) function argument (say: int alpha)
might help to switch alpha support on or off, and leave d to only specify
the memory layout (as you suggested). However, that would then be
different than in Fl_RGB_Image, where d *also* decides whether to use
alpha or not.

Opinions and ideas welcome...


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

Reply via email to