diff options
Diffstat (limited to 'src/plot.c')
-rw-r--r-- | src/plot.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -15,7 +15,14 @@ */ bool nsfb_plot_set_clip(nsfb_t *nsfb, nsfb_bbox_t *clip) { - return nsfb->plotter_fns->clip(nsfb, clip); + return nsfb->plotter_fns->set_clip(nsfb, clip); +} + +/** Get the previously set clipping region. + */ +bool nsfb_plot_get_clip(nsfb_t *nsfb, nsfb_bbox_t *clip) +{ + return nsfb->plotter_fns->get_clip(nsfb, clip); } /** Clears plotting area to a flat colour. |