diff options
Diffstat (limited to 'cocoa/plotter.m')
-rw-r--r-- | cocoa/plotter.m | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cocoa/plotter.m b/cocoa/plotter.m index c37a017c9..bff1ac02a 100644 --- a/cocoa/plotter.m +++ b/cocoa/plotter.m @@ -119,6 +119,10 @@ static bool plot_text(int x, int y, const char *text, size_t length, return true; } +void cocoa_set_clip( NSRect rect ) +{ + cocoa_plot_clip_rect = rect; +} static bool plot_clip(int x0, int y0, int x1, int y1) { |