FLTK logo

[fltk.coredev] New vote about using antialiased lines and curves on the Windows platform

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

New vote about using antialiased lines and curves on the Windows platform Manolo May 27, 2021  
 
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 ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.