FLTK logo

Re: [fltk/fltk] Incorrect rendering on Alpine Linux (#156)

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] Incorrect rendering on Alpine Linux (#156) erco77 Oct 26, 2021  
 

Seems like we should preserve the current line_width before changing it, e.g.

int lw_save = line_width_;       // preserve current line_width
line_style(FL_DOT, 1);
XDrawRectangle(fl_display, fl_window, gc_, x, y, w, h);
line_style(FL_SOLID, lw_save);   // restore line_width


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

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