diff options
author | John Tytgat <joty@netsurf-browser.org> | 2009-02-03 01:27:54 +0000 |
---|---|---|
committer | John Tytgat <joty@netsurf-browser.org> | 2009-02-03 01:27:54 +0000 |
commit | fbf6d4cd4116dac4287403c52233f62bac88f3c0 (patch) | |
tree | 7f05710df78ef24f788fdeaa0cb186df5a3e77b6 /framebuffer/fb_plotters.h | |
parent | 9a1751020684c410d7ad8824dd3cab7c5dd90733 (diff) | |
download | netsurf-fbf6d4cd4116dac4287403c52233f62bac88f3c0.tar.gz netsurf-fbf6d4cd4116dac4287403c52233f62bac88f3c0.tar.bz2 |
- 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 'framebuffer/fb_plotters.h')
-rw-r--r-- | framebuffer/fb_plotters.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framebuffer/fb_plotters.h b/framebuffer/fb_plotters.h index f9f528336..c06ad2961 100644 --- a/framebuffer/fb_plotters.h +++ b/framebuffer/fb_plotters.h @@ -34,7 +34,7 @@ bool fb_plotters_clip_rect(const bbox_t *clip, int *x0, int *y0, int *x1, int *y bool fb_plotters_clip_line_ctx(int *x0, int *y0, int *x1, int *y1); bool fb_plotters_clip_line(const bbox_t *clip, int *x0, int *y0, int *x1, int *y1); -bool fb_plotters_polygon(int *p, unsigned int n, colour fill, bool (linefn)(int x0, int y0, int x1, int y1, int width, colour c, bool dotted, bool dashed)); +bool fb_plotters_polygon(const int *p, unsigned int n, colour fill, bool (linefn)(int x0, int y0, int x1, int y1, int width, colour c, bool dotted, bool dashed)); bool fb_plotters_bitmap_tile(int x, int y, int width, int height, |