diff options
-rwxr-xr-x | atari/plot.c | 8 | ||||
-rwxr-xr-x | atari/plot.h | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/atari/plot.c b/atari/plot.c index 536b4dd5a..16e19149c 100755 --- a/atari/plot.c +++ b/atari/plot.c @@ -89,6 +89,14 @@ int atari_plotter_finalise( void ) delete_font_plotter( fplotter );
}
+void plot_set_knockout( int set ){
+ if( set == 0 ) {
+ plot.option_knockout = false;
+ } else {
+ plot.option_knockout = true;
+ }
+}
+
bool plot_rectangle( int x0, int y0, int x1, int y1,
const plot_style_t *style )
{
diff --git a/atari/plot.h b/atari/plot.h index 9b7dc5f1f..7be7d6aa3 100755 --- a/atari/plot.h +++ b/atari/plot.h @@ -26,6 +26,7 @@ struct rect; int atari_plotter_init( char*, char * );
int atari_plotter_finalise( void );
+void plot_set_knockout( int set );
bool plot_get_clip(struct rect * out);
bool plot_clip(const struct rect *clip);
bool plot_rectangle( int x0, int y0, int x1, int y1,const plot_style_t *style );
|