diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2018-05-23 13:48:17 +0100 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2018-05-23 13:48:17 +0100 |
commit | 8332bf6b2a42fd03b864e46f60eeaa76b51da496 (patch) | |
tree | a2b9a813dd13c6944e47c307a89f3f0026e61e41 /desktop/knockout.c | |
parent | 5f4f23f11a1c2aaa85df6bb58f0be6e66fa7cc7b (diff) | |
download | netsurf-8332bf6b2a42fd03b864e46f60eeaa76b51da496.tar.gz netsurf-8332bf6b2a42fd03b864e46f60eeaa76b51da496.tar.bz2 |
Plotters: Remove width param from path plotter.
We now use the stroke_width in the plot_style.
Diffstat (limited to 'desktop/knockout.c')
-rw-r--r-- | desktop/knockout.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/desktop/knockout.c b/desktop/knockout.c index 6dbf4ebcf..127a48cdb 100644 --- a/desktop/knockout.c +++ b/desktop/knockout.c @@ -671,7 +671,6 @@ knockout_plot_polygon(const struct redraw_context *ctx, * \param pstyle Style controlling the path plot. * \param p elements of path * \param n nunber of elements on path - * \param width The width of the path * \param transform A transform to apply to the path. * \return NSERROR_OK on success else error code. */ @@ -680,14 +679,13 @@ knockout_plot_path(const struct redraw_context *ctx, const plot_style_t *pstyle, const float *p, unsigned int n, - float width, const float transform[6]) { nserror res; nserror ffres; ffres = knockout_plot_flush(ctx); - res = real_plot.path(ctx, pstyle, p, n, width, transform); + res = real_plot.path(ctx, pstyle, p, n, transform); /* return the first error */ if ((res != NSERROR_OK) && (ffres == NSERROR_OK)) { |