FLTK logo

[fltk.general] Re: Can custom box type functions handle their own high-DPI screen scaling?

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.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Can custom box type functions handle their own high-DPI screen scaling? Manolo Feb 23, 2021  
  On Tuesday, February 23, 2021 at 4:54:14 PM UTC+1 remy.o...@gmail.com wrote:
Some months ago I was testing FLTK 1.4.x's screen scaling support in Windows. It worked as expected, with FLTK_SCALING_FACTOR or Fl::screen_scale() affecting the whole program's scaling, without my needing to manually adjust coordinate and size values.

I didn't continue with it because it was scaling lines in an ugly way, particularly at uneven scaling factors like 1.5. …
 
Hi Remy,
I would suggest you try again with FLTK 1.4 in its present state. The code has been much improved and
supports now all scaling factor values for color gradients. I attach an example given by the "unittests"
FLTK test program scaled at 170% on Windows. The situation is the same under Linux and macOS.

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/417084b1-6688-450c-826c-cde0917e5c47n%40googlegroups.com.

Attachment: unittests@170%.png
Description: PNG image

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'.