The branch GDI+soft of https://github.com/ManoloFLTK/fltk has been expanded to allow to turn on or off anti-aliasing when drawing lines and curves on the Windows platform. The API for that is - void fl_antialias(int state); <---- to turn antialiasing on or off - int fl_antialias(); <----- to get the current state of antialiased drawing
Only the Windows platform (with the GDI+ option which is ON by default) allows to turn antialiasing on or off. The macOS platform is always on. The X11 platform is always off.
Again, only oblique lines and curves are drawn with GDI+, unless fl_antialias(0) has been called before. All the rest (rectangles, horizontal and vertical lines, text, images) remains drawn with GDI.
Please, give again your vote about committing these changes to FLTK 1.4 TIA
--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/d582f559-727f-485c-862b-1ba55ba2c5cfn%40googlegroups.com.
[ Direct Link to Message ] |