|
|
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: https://www.fltk.org/str.php?L2609
Version: 1.4-feature
This is a bit by memory, but I will try to get that right. Most low-level
graphics libraries do not support transparency, so we can't easily add this
to FLTK. Also, FLTK tries to do minimal updates in graphics, so
transparencies my multiply, leading to unexpected results. Example: set an
antialiased font for text on a widget that has background without BOX, and
drawing it multiple times will make the text look jaggy.
Images are different, because we have more control over drawing here.
If you draw into an Fl_GL_Window using FLTK calls, you can have
transparency by setting color table entries with R, G, B, A.
Link: https://www.fltk.org/str.php?L2609
Version: 1.4-feature
[ Direct Link to Message ] | |
|
| |