path: root/amiga/plotters.c
diff options
authorJohn Tytgat <>2009-02-03 01:27:54 +0000
committerJohn Tytgat <>2009-02-03 01:27:54 +0000
commitfbf6d4cd4116dac4287403c52233f62bac88f3c0 (patch)
tree7f05710df78ef24f788fdeaa0cb186df5a3e77b6 /amiga/plotters.c
parent9a1751020684c410d7ad8824dd3cab7c5dd90733 (diff)
- Constify parameters of struct plotter_table::polygon and struct plotter_table::path
- riscos/save_draw.c(ro_save_draw_plotters): Make it static. - desktop/save_pdf/pdf_plotters.c(pdf_plot_path): fix broken implementation (coordinates path were wrong, no clip/text mode update, transformation matrix was overwritten); only update fill and/or stroke color when fill and/or stroke is done. (pdf_begin): disable compression when PDF_DEBUG is set svn path=/trunk/netsurf/; revision=6361
Diffstat (limited to 'amiga/plotters.c')
1 files changed, 3 insertions, 3 deletions
diff --git a/amiga/plotters.c b/amiga/plotters.c
index 3460e5936..b19ee394c 100755
--- a/amiga/plotters.c
+++ b/amiga/plotters.c
@@ -189,7 +189,7 @@ bool ami_line(int x0, int y0, int x1, int y1, int width,
return true;
-bool ami_polygon(int *p, unsigned int n, colour fill)
+bool ami_polygon(const int *p, unsigned int n, colour fill)
int k;
@@ -626,8 +626,8 @@ bool ami_flush(void)
return true;
-bool ami_path(float *p, unsigned int n, colour fill, float width,
- colour c, float *transform)
+bool ami_path(const float *p, unsigned int n, colour fill, float width,
+ colour c, const float transform[6])
/* For SVG only, because it needs Bezier curves we are going to cheat
and insist on Cairo */