NetSurf
Functions | Variables
knockout.h File Reference

Knockout rendering (interface). More...

#include "netsurf/plotters.h"
Include dependency graph for knockout.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool knockout_plot_start (const struct redraw_context *ctx, struct redraw_context *knk_ctx)
 Start a knockout plotting session. More...
 
bool knockout_plot_end (const struct redraw_context *ctx)
 End a knockout plotting session. More...
 

Variables

const struct plotter_table knockout_plotters
 knockout plotter operation table More...
 

Detailed Description

Knockout rendering (interface).

Definition in file knockout.h.

Function Documentation

◆ knockout_plot_end()

bool knockout_plot_end ( const struct redraw_context ctx)

End a knockout plotting session.

Returns
true on success, false otherwise

Definition at line 997 of file knockout.c.

References knockout_plot_flush(), and nested_depth.

Referenced by browser_window_redraw(), content_scaled_redraw(), knockout_plot_start(), page_info_redraw(), and treeview_redraw().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ knockout_plot_start()

bool knockout_plot_start ( const struct redraw_context ctx,
struct redraw_context knk_ctx 
)

Start a knockout plotting session.

Parameters
ctxthe redraw context with real plotter table
knk_ctxupdated to copy of ctx, with plotter table replaced
Returns
true on success, false otherwise

Definition at line 971 of file knockout.c.

References knockout_entry_cur, knockout_plot_end(), knockout_plotters, nested_depth, redraw_context::plot, real_plot, and plotter_table::rectangle.

Referenced by browser_window_redraw(), content_scaled_redraw(), page_info_redraw(), and treeview_redraw().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ knockout_plotters

const struct plotter_table knockout_plotters
extern

knockout plotter operation table

Definition at line 1012 of file knockout.c.

Referenced by knockout_plot_start().