diff options
Diffstat (limited to 'src/fl_rect.cxx')
| -rw-r--r-- | src/fl_rect.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fl_rect.cxx b/src/fl_rect.cxx index 060e2600c..5ad2c9e5e 100644 --- a/src/fl_rect.cxx +++ b/src/fl_rect.cxx @@ -50,6 +50,7 @@ void Fl_Graphics_Driver::restore_clip() { fl_clip_state_number++; } + void Fl_Graphics_Driver::clip_region(Fl_Region r) { Fl_Region oldr = rstack[rstackptr]; if (oldr) XDestroyRegion(oldr); @@ -57,6 +58,7 @@ void Fl_Graphics_Driver::clip_region(Fl_Region r) { fl_restore_clip(); } + Fl_Region Fl_Graphics_Driver::clip_region() { return rstack[rstackptr]; } @@ -87,14 +89,17 @@ Fl_Region Fl_Graphics_Driver::clip_region() { //////////////////////////////////////////////////////////////// + #ifdef FL_CFG_GFX_QUARTZ # include "cfg_gfx/quartz_rect.cxx" #endif + // ----------------------------------------------------------------------------- + #ifdef FL_CFG_GFX_GDI // --- line and polygon drawing with integer coordinates |
