From 0faba4e3cb7b2dd41bd071704209f67462649ebd Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 28 Sep 2011 09:07:50 +0000 Subject: Mac only: further fine tuning in clipping/rectf needed for scroll demo after changes in r.9050. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9074 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_rect.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fl_rect.cxx') diff --git a/src/fl_rect.cxx b/src/fl_rect.cxx index 4a5606357..33a874856 100644 --- a/src/fl_rect.cxx +++ b/src/fl_rect.cxx @@ -188,7 +188,7 @@ void Fl_Graphics_Driver::rectf(int x, int y, int w, int h) { rect.right = x + w; rect.bottom = y + h; FillRect(fl_gc, &rect, fl_brush()); #elif defined(__APPLE_QUARTZ__) - CGRect rect = CGRectMake(x, y, w - 1 , h - 1); + CGRect rect = CGRectMake(x, y, w - 0.9 , h - 0.9); CGContextFillRect(fl_gc, rect); #else # error unsupported platform -- cgit v1.2.3