diff options
author | Vincent Sanders <vince@kyllikki.org> | 2017-02-11 13:47:39 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2017-02-11 13:57:06 +0000 |
commit | 7d660561cc9562731429ca06904b5e5711e90e27 (patch) | |
tree | f0c4bf93125e5bb6ebfe60dd436a84914e255f32 /desktop/knockout.h | |
parent | 18abdadac83789019ae1a36a1e1cad2e98601efa (diff) | |
download | netsurf-7d660561cc9562731429ca06904b5e5711e90e27.tar.gz netsurf-7d660561cc9562731429ca06904b5e5711e90e27.tar.bz2 |
Update knockout plotter to use new API
Diffstat (limited to 'desktop/knockout.h')
-rw-r--r-- | desktop/knockout.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/desktop/knockout.h b/desktop/knockout.h index c4f1245fc..f7ff04553 100644 --- a/desktop/knockout.h +++ b/desktop/knockout.h @@ -26,9 +26,21 @@ #include "netsurf/plotters.h" +/** + * Start a knockout plotting session + * + * \param ctx the redraw context with real plotter table + * \param knk_ctx updated to copy of ctx, with plotter table replaced + * \return true on success, false otherwise + */ bool knockout_plot_start(const struct redraw_context *ctx, struct redraw_context *knk_ctx); -bool knockout_plot_end(void); +/** + * End a knockout plotting session + * + * \return true on success, false otherwise + */ +bool knockout_plot_end(const struct redraw_context *ctx); extern const struct plotter_table knockout_plotters; |