diff options
author | Ole Loots <ole@monochrom.net> | 2011-04-22 10:42:04 +0000 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2011-04-22 10:42:04 +0000 |
commit | 8d5091fab70dbc26f534daed8fed46da1fc75ede (patch) | |
tree | ea9ac53d6ee4a8648972e5ab557891e6cdc8778c /atari/plot.c | |
parent | 0cec5e0d071449f81b098df32ca7ca667e4cb83c (diff) | |
download | netsurf-8d5091fab70dbc26f534daed8fed46da1fc75ede.tar.gz netsurf-8d5091fab70dbc26f534daed8fed46da1fc75ede.tar.bz2 |
Added option for knockout rendering.
svn path=/trunk/netsurf/; revision=12220
Diffstat (limited to 'atari/plot.c')
-rwxr-xr-x | atari/plot.c | 8 |
1 files changed, 8 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 )
{
|