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 Albrecht Schlosser May 19, 2021  
 
On 5/17/21 9:54 AM Manolo wrote:

Please vote about having the Windows FLTK platform draw oblique lines,
curves and all complex shapes in antialiased form. The result of this change is
visible in the attached snapshot where left elements show the current products
and right elements show the effect of the proposed changes, both under Windows 10.

The code for that is in branch GDI+soft of https://github.com/ManoloFLTK/fltk

Sorry for the late reply, I've been too busy to test. I read all comments so far and I'll try to get to testing later today.

I can test the performance issues in a Virtualbox VM and, if necessary, on the same (dual boot) machine in a native Windows boot.

For now I have just a thought and a question. Ian wrote in one of his replies:
So *if* we have this, I’d prefer it were optional, and if it were optional then possibly Direct2D rather than GDI+.
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?

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?).

Well, while I'm writing this, another question came up: IIRC the gleam scheme draws the color gradients as adjacent horizontal lines. Wouldn't this be affected by the performance penalty as well?

--
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/a7bef064-525c-2b98-8d86-4d246c627c3e%40online.de.
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'.