diff options
Diffstat (limited to 'atari/plot.c')
-rwxr-xr-x | atari/plot.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/atari/plot.c b/atari/plot.c index 1ce08a7e8..861460f49 100755 --- a/atari/plot.c +++ b/atari/plot.c @@ -113,7 +113,13 @@ static bool plot_polygon(const int *p, unsigned int n, {
plotter->polygon( plotter, p, n, style );
return ( true );
-}
+} + +bool plot_set_dimensions( int x, int y, int w, int h ) +{ + plotter->resize( plotter, w, h );
+ plotter->move( plotter, x, y ); +} bool plot_clip(const struct rect *clip)
{
@@ -191,7 +197,7 @@ static bool plot_bitmap(int x, int y, int width, int height, return( true );
}
- if (!(repeat_x || repeat_y)) {
+ if (!(repeat_x || repeat_y) ) {
plotter->bitmap( plotter, bm, x, y, bg, flags );
} else {
int xf,yf;
|