[project @ 2005-03-20 20:39:22 by jmb]

Fix draw_plot_rectangle API

svn path=/import/netsurf/; revision=1557
This commit is contained in:
John Mark Bell 2005-03-20 20:39:22 +00:00
parent 452629ab85
commit 062e6a5bae

View File

@ -80,7 +80,7 @@ static bool drawbuf_group_end(void);
static bool add_options(void);
static bool draw_plot_clg(colour c);
static bool draw_plot_rectangle(int x0, int y0, int width, int height,
colour c, bool dotted);
int line_width, colour c, bool dotted, bool dashed);
static bool draw_plot_line(int x0, int y0, int x1, int y1, int width,
colour c, bool dotted, bool dashed);
static bool draw_plot_polygon(int *p, unsigned int n, colour fill);
@ -550,7 +550,7 @@ bool draw_plot_clg(colour c)
* \return true on success, false otherwise.
*/
bool draw_plot_rectangle(int x0, int y0, int width, int height,
colour c, bool dotted)
int line_width, colour c, bool dotted, bool dashed)
{
drawfile_object *dro;
drawfile_path *dp;