summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
Diffstat (limited to 'amiga')
-rwxr-xr-xamiga/plotters.c6
-rwxr-xr-xamiga/plotters.h6
2 files changed, 6 insertions, 6 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;
#ifndef NS_AMIGA_CAIRO
@@ -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 */
diff --git a/amiga/plotters.h b/amiga/plotters.h
index 0ed18c5ee..676493719 100755
--- a/amiga/plotters.h
+++ b/amiga/plotters.h
@@ -27,7 +27,7 @@ bool ami_rectangle(int x0, int y0, int width, int height,
int line_width, colour c, bool dotted, bool dashed);
bool ami_line(int x0, int y0, int x1, int y1, int width,
colour c, bool dotted, bool dashed);
-bool ami_polygon(int *p, unsigned int n, colour fill);
+bool ami_polygon(const int *p, unsigned int n, colour fill);
bool ami_fill(int x0, int y0, int x1, int y1, colour c);
bool ami_clip(int x0, int y0, int x1, int y1);
bool ami_text(int x, int y, const struct css_style *style,
@@ -43,6 +43,6 @@ bool ami_bitmap_tile(int x, int y, int width, int height,
bool ami_group_start(const char *name);
bool ami_group_end(void);
bool ami_flush(void);
-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]);
#endif