diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2016-01-04 23:09:32 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2016-01-04 23:09:32 +0000 |
| commit | b1520373aebb3f16e1aad19d253c1ec12439664c (patch) | |
| tree | fc48095864b484ab563a34f65040d00a8a3a9c54 /src/fl_vertex.cxx | |
| parent | eb1abad3ca43963f7826f067e70bc3a20db352da (diff) | |
Created pseudo code for all FL_PORTED section so that FLTK compiles and links (Xcode, hello, other C flags: -D FL_PORTING -U __APPLE__ -U __APPLE_QUARTZ__)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@10993 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_vertex.cxx')
| -rw-r--r-- | src/fl_vertex.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/fl_vertex.cxx b/src/fl_vertex.cxx index c44178eba..1f7f6b9e0 100644 --- a/src/fl_vertex.cxx +++ b/src/fl_vertex.cxx @@ -131,6 +131,8 @@ void Fl_Graphics_Driver::end_points() { CGContextStrokePath(fl_gc); } if (fl_quartz_line_width_ > 1.5f) CGContextSetShouldAntialias(fl_gc, false); +#elif defined(FL_PORTING) +# pragma message "FL_PORTING: implement end_points" #else # error unsupported platform #endif @@ -153,6 +155,8 @@ void Fl_Graphics_Driver::end_line() { CGContextAddLineToPoint(fl_gc, p[i].x, p[i].y); CGContextStrokePath(fl_gc); CGContextSetShouldAntialias(fl_gc, false); +#elif defined(FL_PORTING) +# pragma message "FL_PORTING: implement end_line" #else # error unsupported platform #endif @@ -190,6 +194,8 @@ void Fl_Graphics_Driver::end_polygon() { CGContextClosePath(fl_gc); CGContextFillPath(fl_gc); CGContextSetShouldAntialias(fl_gc, false); +#elif defined(FL_PORTING) +# pragma message "FL_PORTING: implement end_polygon" #else # error unsupported platform #endif @@ -238,6 +244,8 @@ void Fl_Graphics_Driver::end_complex_polygon() { CGContextClosePath(fl_gc); CGContextFillPath(fl_gc); CGContextSetShouldAntialias(fl_gc, false); +#elif defined(FL_PORTING) +# pragma message "FL_PORTING: implement end_complex_polygon" #else # error unsupported platform #endif @@ -273,6 +281,8 @@ void Fl_Graphics_Driver::circle(double x, double y,double r) { CGContextAddArc(fl_gc, xt, yt, (w+h)*0.25f, 0, 2.0f*M_PI, 0); (what == POLYGON ? CGContextFillPath : CGContextStrokePath)(fl_gc); CGContextSetShouldAntialias(fl_gc, false); +#elif defined(FL_PORTING) +# pragma message "FL_PORTING: implement circle" #else # error unsupported platform #endif |
