From d806f32c7bd7a5a495ed8e7a3b1d7086e230343c Mon Sep 17 00:00:00 2001 From: Chris Young Date: Mon, 22 Oct 2012 20:07:52 +0100 Subject: Don't set outline pen - this is what makes AreaFill outline the filled area, which we categorically do not want to happen. --- amiga/plotters.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'amiga') diff --git a/amiga/plotters.c b/amiga/plotters.c index 8d5444470..ecf5b3902 100755 --- a/amiga/plotters.c +++ b/amiga/plotters.c @@ -283,18 +283,6 @@ static void ami_plot_setapen(ULONG colour) } } -static void ami_plot_setopen(ULONG colour) -{ - if(palette_mapped == false) { - SetRPAttrs(glob->rp, RPTAG_OPenColor, - p96EncodeColor(RGBFB_A8B8G8R8, colour), - TAG_DONE); - } else { - ULONG pen = ami_plot_obtain_pen(glob->shared_pens, colour); - if(pen != -1) SetOPen(glob->rp, pen); - } -} - bool ami_rectangle(int x0, int y0, int x1, int y1, const plot_style_t *style) { #ifdef AMI_PLOTTER_DEBUG @@ -473,7 +461,6 @@ bool ami_polygon(const int *p, unsigned int n, const plot_style_t *style) ULONG cx,cy; ami_plot_setapen(style->fill_colour); - ami_plot_setopen(style->fill_colour); AreaMove(glob->rp,p[0],p[1]); @@ -483,7 +470,6 @@ bool ami_polygon(const int *p, unsigned int n, const plot_style_t *style) } AreaEnd(glob->rp); - BNDRYOFF(glob->rp); } else { -- cgit v1.2.3