mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 21:16:50 +03:00
Added option for knockout rendering.
svn path=/trunk/netsurf/; revision=12220
This commit is contained in:
parent
0cec5e0d07
commit
8d5091fab7
@ -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 )
|
||||
{
|
||||
|
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user