summaryrefslogtreecommitdiff
path: root/amiga/plotters.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2015-02-02 18:10:43 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2015-02-02 18:10:43 +0000
commit7d41e04b61162d3cb1f0032100d29ef7897b2d83 (patch)
tree5587b322d516c96049105e923be95fbfa9a663e3 /amiga/plotters.h
parent54a966f6ff1b2d09d3db94560b67a2343e8684e1 (diff)
downloadnetsurf-7d41e04b61162d3cb1f0032100d29ef7897b2d83.tar.gz
netsurf-7d41e04b61162d3cb1f0032100d29ef7897b2d83.tar.bz2
We don't need to use P96 for RectFill
Diffstat (limited to 'amiga/plotters.h')
-rw-r--r--[-rwxr-xr-x]amiga/plotters.h22
1 files changed, 2 insertions, 20 deletions
diff --git a/amiga/plotters.h b/amiga/plotters.h
index 501698a41..a6087d1e1 100755..100644
--- a/amiga/plotters.h
+++ b/amiga/plotters.h
@@ -30,33 +30,15 @@ struct gui_globals
APTR areabuf;
APTR tmprasbuf;
struct Rectangle rect;
- struct MinList *shared_pens;
+ struct MinList *shared_pens; /**\todo move this to gui_window_2 */
};
extern const struct plotter_table amiplot;
-bool ami_clg(colour c);
-bool ami_rectangle(int x0, int y0, int x1, int y1, const plot_style_t *style);
-bool ami_line(int x0, int y0, int x1, int y1, const plot_style_t *style);
-bool ami_polygon(const int *p, unsigned int n, const plot_style_t *style);
-bool ami_clip(const struct rect *clip);
-bool ami_text(int x, int y, const char *text, size_t length,
- const plot_font_style_t *fstyle);
-bool ami_disc(int x, int y, int radius, const plot_style_t *style);
-bool ami_arc(int x, int y, int radius, int angle1, int angle2,
- const plot_style_t *style);
-bool ami_bitmap_tile(int x, int y, int width, int height,
- struct bitmap *bitmap, colour bg,
- bitmap_flags_t flags);
-bool ami_group_start(const char *name);
-bool ami_group_end(void);
-bool ami_flush(void);
-bool ami_path(const float *p, unsigned int n, colour fill, float width,
- colour c, const float transform[6]);
-
void ami_init_layers(struct gui_globals *gg, ULONG width, ULONG height);
void ami_free_layers(struct gui_globals *gg);
void ami_clearclipreg(struct gui_globals *gg);
+void ami_plot_clear_bbox(struct RastPort *rp, struct IBox *bbox);
void ami_plot_release_pens(struct MinList *shared_pens);
bool ami_plot_screen_is_palettemapped(void);