X11: Fix drawing of sliders with gtk+ scheme and GUI scaling >= 2 -- continued
Other places where line_delta_ is to be used. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12823 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
bf0c9d4c6a
commit
798823f7dc
@ -45,7 +45,7 @@ void Fl_Xlib_Graphics_Driver::end_line() {
|
||||
void Fl_Xlib_Graphics_Driver::end_loop() {
|
||||
fixloop();
|
||||
if (n>2) {
|
||||
transformed_vertex0(p[0].x, p[0].y);
|
||||
transformed_vertex0(p[0].x - line_delta_, p[0].y - line_delta_);
|
||||
}
|
||||
end_line();
|
||||
}
|
||||
@ -67,7 +67,7 @@ void Fl_Xlib_Graphics_Driver::begin_complex_polygon() {
|
||||
void Fl_Xlib_Graphics_Driver::gap() {
|
||||
while (n>gap_+2 && p[n-1].x == p[gap_].x && p[n-1].y == p[gap_].y) n--;
|
||||
if (n > gap_+2) {
|
||||
transformed_vertex0(p[gap_].x, p[gap_].y);
|
||||
transformed_vertex0(p[gap_].x - line_delta_, p[gap_].y - line_delta_);
|
||||
gap_ = n;
|
||||
} else {
|
||||
n = gap_;
|
||||
|
Loading…
Reference in New Issue
Block a user