24#ifndef _NETSURF_PLOTTERS_H_
25#define _NETSURF_PLOTTERS_H_
38#define BITMAPF_REPEAT_X 1
39#define BITMAPF_REPEAT_Y 2
231 const float transform[6]);
nserror
Enumeration of error codes.
unsigned long bitmap_flags_t
plotter style interfaces, generic styles and style colour helpers.
RISC OS wimp toolkit bitmap.
Plot style for stroke/fill plotters.
Plotter operations table.
nserror(* group_start)(const struct redraw_context *ctx, const char *name)
Start of a group of objects.
bool option_knockout
flag to enable knockout rendering.
nserror(* line)(const struct redraw_context *ctx, const plot_style_t *pstyle, const struct rect *line)
Plots a line.
nserror(* polygon)(const struct redraw_context *ctx, const plot_style_t *pstyle, const int *p, unsigned int n)
Plot a polygon.
nserror(* group_end)(const struct redraw_context *ctx)
End of the most recently started group.
nserror(* flush)(const struct redraw_context *ctx)
Only used internally by the knockout code.
nserror(* arc)(const struct redraw_context *ctx, const plot_style_t *pstyle, int x, int y, int radius, int angle1, int angle2)
Plots an arc.
nserror(* text)(const struct redraw_context *ctx, const plot_font_style_t *fstyle, int x, int y, const char *text, size_t length)
Text plotting.
nserror(* rectangle)(const struct redraw_context *ctx, const plot_style_t *pstyle, const struct rect *rectangle)
Plots a rectangle.
nserror(* clip)(const struct redraw_context *ctx, const struct rect *clip)
Sets a clip rectangle for subsequent plot operations.
nserror(* path)(const struct redraw_context *ctx, const plot_style_t *pstyle, const float *p, unsigned int n, const float transform[6])
Plots a path.
nserror(* bitmap)(const struct redraw_context *ctx, struct bitmap *bitmap, int x, int y, int width, int height, colour bg, bitmap_flags_t flags)
Plot a bitmap.
nserror(* disc)(const struct redraw_context *ctx, const plot_style_t *pstyle, int x, int y, int radius)
Plots a circle.
bool background_images
Render background images.
const struct plotter_table * plot
Current plot operation table.
bool interactive
Redraw to show interactive features.
void * priv
Private context.
uint32_t colour
Colour type: XBGR.