FLTK logo

Re: [fltk.coredev] 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 ]

Re: Vote about using antialiased lines and curves on the Windows platform Gonzalo Garramuño May 17, 2021  
 

El 17/05/2021 a las 04:54, Manolo escribió:
The code for that is in branch GDI+soft of https://github.com/ManoloFLTK/fltk

That code uses GDI+ only when it improves the quality of current drawings,
that is, when drawing non horizontal nor vertical lines or when drawing curves. All the rest (e.g., text, images, horizontal and vertical lines, rectangles) are
processed unchanged by GDI.
GDI+ is supported from Windows XP and up. When GDI+ isn't available, the modified
code falls back to GDI. Thus FLTK remains compatible with Windows 95.

Both configure-based and CMake-based builds are taken care of.

My vote is +1

TIA - Manolo

I tried it with cmake build and tried it on my viewer to really measure how much of a performance hit I would get.

I had to link my program with GDIplus.lib.  The result, however, was that my viewer crashed on startup with an unknown exception being thrown.

So, my vote has to be -1 for now.

--
Gonzalo Garramuño

--
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/05cc5429-e18a-8e2e-5c6e-ac47184632ca%40gmail.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'.