summaryrefslogtreecommitdiff
path: root/amiga/plotters.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2008-08-02 14:31:32 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2008-08-02 14:31:32 +0000
commit26203b22157e0b92caa973d712968f4f4bbeee6c (patch)
treeb34a043fd0f0f3d268576198932b30b9eff63440 /amiga/plotters.h
parenta011abf55f0d61e4425b5fb783bd007f27c9f778 (diff)
downloadnetsurf-26203b22157e0b92caa973d712968f4f4bbeee6c.tar.gz
netsurf-26203b22157e0b92caa973d712968f4f4bbeee6c.tar.bz2
Initial Amiga port files, mostly empty stub functions.
svn path=/trunk/netsurf/; revision=4864
Diffstat (limited to 'amiga/plotters.h')
-rwxr-xr-xamiga/plotters.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/amiga/plotters.h b/amiga/plotters.h
new file mode 100755
index 000000000..3de1b497d
--- /dev/null
+++ b/amiga/plotters.h
@@ -0,0 +1,48 @@
+/*
+ * Copyright 2008 Chris Young <chris@unsatisfactorysoftware.co.uk>
+ *
+ * This file is part of NetSurf, http://www.netsurf-browser.org/
+ *
+ * NetSurf is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * NetSurf is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef AMIGA_PLOTTERS_H
+#define AMIGA_PLOTTERS_H
+#include "desktop/plotters.h"
+
+extern const struct plotter_table amiplot;
+
+bool ami_clg(colour c);
+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_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,
+ const char *text, size_t length, colour bg, colour c);
+bool ami_disc(int x, int y, int radius, colour c, bool filled);
+bool ami_arc(int x, int y, int radius, int angle1, int angle2,
+ colour c);
+bool ami_bitmap(int x, int y, int width, int height,
+ struct bitmap *bitmap, colour bg);
+bool ami_bitmap_tile(int x, int y, int width, int height,
+ struct bitmap *bitmap, colour bg,
+ bool repeat_x, bool repeat_y);
+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);
+#endif