32#ifndef NETSURF_DESKTOP_PRINT_H
33#define NETSURF_DESKTOP_PRINT_H
36#include <libcss/libcss.h>
bool html_redraw_printing
int html_redraw_printing_border
print_configuration
Predefined printing configuration names.
int html_redraw_printing_top_cropped
bool print_draw_next_page(const struct printer *printer, struct print_settings *settings)
This function draws one page, beginning with the height offset of done_height.
struct print_settings * print_make_settings(print_configuration configuration, const char *url, const struct gui_layout_table *font_func)
Setup print settings for print render operation.
bool print_set_up(struct hlcache_handle *content, const struct printer *printer, struct print_settings *settings, double *height)
This function prepares the content to be printed.
bool print_basic_run(struct hlcache_handle *, const struct printer *, struct print_settings *)
This function calls print setup, prints page after page until the whole content is printed calls clea...
bool print_cleanup(struct hlcache_handle *, const struct printer *, struct print_settings *settings)
Memory allocated during printing is being freed here.
static struct print_settings * settings
Content which corresponds to a single URL.
Settings for a print - filled in by print_make_settings or 'manually' by the caller.
const struct gui_layout_table * font_func