diff options
author | Ole Loots <ole@monochrom.net> | 2013-12-28 01:20:20 +0100 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2013-12-28 01:20:20 +0100 |
commit | eaff41259bab9fe3849567dafaa29537fd33bfa6 (patch) | |
tree | 042f0c452ed1590d25962d43f524f1cc2561ba7a /atari/plot/plot.h | |
parent | 289cd3a7975125d133f42ceb314db1332ff13032 (diff) | |
download | netsurf-eaff41259bab9fe3849567dafaa29537fd33bfa6.tar.gz netsurf-eaff41259bab9fe3849567dafaa29537fd33bfa6.tar.bz2 |
Added plot_set_abs_clipping API to define maximum allowed clipping extent.
subsequent call's to plot_clip obey to the maximum clipping rect.
Diffstat (limited to 'atari/plot/plot.h')
-rwxr-xr-x | atari/plot/plot.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/atari/plot/plot.h b/atari/plot/plot.h index 0c5d8164c..31c64c863 100755 --- a/atari/plot/plot.h +++ b/atari/plot/plot.h @@ -109,6 +109,8 @@ bool plot_set_dimensions( int x, int y, int w, int h ); bool plot_get_dimensions(GRECT *dst); float plot_get_scale(void); float plot_set_scale(float); +void plot_set_abs_clipping(const GRECT *area); +void plot_get_abs_clipping(struct rect *dst); bool plot_get_clip(struct rect * out); /* Get clipping for current framebuffer as GRECT */ void plot_get_clip_grect(GRECT * out); |