summaryrefslogtreecommitdiff
path: root/src/drivers/Quartz/Fl_Quartz_Graphics_Driver_vertex.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-09-26 16:57:37 +0000
committerManolo Gouy <Manolo>2016-09-26 16:57:37 +0000
commit04c20514f62f09ef92fcfbe8cdb0e3917ba1c9a7 (patch)
tree9a1e06021006d6dac45e16b02dbb29a303a04cf7 /src/drivers/Quartz/Fl_Quartz_Graphics_Driver_vertex.cxx
parent606cdf1c6091920d006f4258af5f1495bc1af411 (diff)
Replace a few global variables by members of the Fl_Quartz_Graphics_Driver class
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11985 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/Quartz/Fl_Quartz_Graphics_Driver_vertex.cxx')
-rw-r--r--src/drivers/Quartz/Fl_Quartz_Graphics_Driver_vertex.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/Quartz/Fl_Quartz_Graphics_Driver_vertex.cxx b/src/drivers/Quartz/Fl_Quartz_Graphics_Driver_vertex.cxx
index 0de553c87..33e307fa9 100644
--- a/src/drivers/Quartz/Fl_Quartz_Graphics_Driver_vertex.cxx
+++ b/src/drivers/Quartz/Fl_Quartz_Graphics_Driver_vertex.cxx
@@ -41,13 +41,13 @@ void Fl_Quartz_Graphics_Driver::vertex(double x,double y) {
}
void Fl_Quartz_Graphics_Driver::end_points() {
- if (fl_quartz_line_width_ > 1.5f) CGContextSetShouldAntialias(gc_, true);
+ if (quartz_line_width_ > 1.5f) CGContextSetShouldAntialias(gc_, true);
for (int i=0; i<n; i++) {
CGContextMoveToPoint(gc_, p[i].x, p[i].y);
CGContextAddLineToPoint(gc_, p[i].x, p[i].y);
CGContextStrokePath(gc_);
}
- if (fl_quartz_line_width_ > 1.5f) CGContextSetShouldAntialias(gc_, false);
+ if (quartz_line_width_ > 1.5f) CGContextSetShouldAntialias(gc_, false);
}
void Fl_Quartz_Graphics_Driver::end_line() {