mirror of
https://github.com/fltk/fltk.git
synced 2026-05-23 07:46:09 +08:00
Fix drawing points in complex shape mode with Cairo (#792)
This commit is contained in:
@@ -454,6 +454,8 @@ void Fl_Cairo_Graphics_Driver::begin_polygon() {
|
||||
void Fl_Cairo_Graphics_Driver::vertex(double x, double y) {
|
||||
if (what==POINTS){
|
||||
cairo_move_to(cairo_, x, y);
|
||||
cairo_rectangle(cairo_, x-0.5, y-0.5, 1, 1);
|
||||
cairo_fill(cairo_);
|
||||
gap_=1;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user