FLTK logo

Re: [fltk/fltk] Draw lines of equal width in scaled mode (#167)

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

Re: [fltk/fltk] Draw lines of equal width in scaled mode (#167) Albrecht Schlosser Dec 08, 2020  
 

What do you think about a change like outlined here …

@wcout Interesting, thanks for the suggestion. Did you test it? (I assume yes, but I'm asking anyway).

The problem I'm seeing with such an additional fl_line_style flag would be that you (i.e. user code!) would have to set it before you're drawing grids and/or lines that should be "fixed width" but you'd have to reset it afterwards because filling boxes with gradients etc. wouldn't work otherwise. I'm also not sure that this patch would work for all line widths and scaling factors. But I'm only looking at the patch above so I don't really know.

This is a question @ManoloFLTK could probably answer better.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

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