Wayland platform: fix for issue #512 with fl_arc().
This commit is contained in:
parent
1df79078b7
commit
87c8b98a98
@ -467,6 +467,7 @@ void Fl_Cairo_Graphics_Driver::circle(double x, double y, double r){
|
||||
void Fl_Cairo_Graphics_Driver::arc(double x, double y, double r, double start, double a){
|
||||
if (what == NONE) return;
|
||||
gap_ = 0;
|
||||
cairo_new_sub_path(cairo_);
|
||||
if (start > a)
|
||||
cairo_arc(cairo_, x, y, r, -start*M_PI/180, -a*M_PI/180);
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user