Re: Vote about using antialiased lines and curves on the Windows platform
Albrecht Schlosser
May 21, 2021
On 5/19/21 2:03 PM Manolo wrote:
On Wednesday, May 19, 2021 at
1:34:10 PM UTC+2 Albrecht Schlosser wrote:
Manolo, could you imagine to do the same (line drawing
only) work with Direct2D as Ian suggested? I'm asking this
because you're the one who knows all that driver stuff best,
and now that you have done it with GDI+, can you estimate
the effort necessary to do this?
No way. I don't know Direct2D and don't want to invest time
in this MS-only API.
I understand that. Thanks for your ongoing work on improving FLTK!
Please don't understand me wrong, it's just a thought.
Since MS seems to have given up on GDI+, wouldn't it be a step
backwards if we introduced GDI+ now? Maybe MS will drop
support in a future version or ... (who knows?).
MS has been maintaining back compatibility very seriously
for many years. The exact opposite of what Apple does.
Indeed.
Side note, FTR:
The new code implements "only some GDI+ drawing methods" on
top of the GDI driver which manifests in the following diffs (not
taking into account the minor and straight-forward build system
related changes):
I assume the same driver methods could be implemented using Direct2D
in the future if this turns out to be doable by someone knowing this
API and willing to do it. That is, if we can combine Direct2D with
GDI in the same way it is done now with GDI and GDI+.
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.