63 int x,
int y,
int radius,
int angle1,
int angle2)
66 x, y, radius, angle1, angle2);
86 int x,
int y,
int radius)
182 const float transform[6])
264 .option_knockout =
true,
nserror
Enumeration of error codes.
Target independent plotting interface.
unsigned long bitmap_flags_t
static nserror monkey_plot_disc(const struct redraw_context *ctx, const plot_style_t *style, int x, int y, int radius)
Plots a circle.
static nserror monkey_plot_polygon(const struct redraw_context *ctx, const plot_style_t *style, const int *p, unsigned int n)
Plot a polygon.
static nserror monkey_plot_clip(const struct redraw_context *ctx, const struct rect *clip)
Sets a clip rectangle for subsequent plot operations.
static nserror monkey_plot_line(const struct redraw_context *ctx, const plot_style_t *style, const struct rect *line)
Plots a line.
const struct plotter_table * monkey_plotters
static nserror monkey_plot_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.
static nserror monkey_plot_path(const struct redraw_context *ctx, const plot_style_t *pstyle, const float *p, unsigned int n, const float transform[6])
Plots a path.
static nserror monkey_plot_arc(const struct redraw_context *ctx, const plot_style_t *style, int x, int y, int radius, int angle1, int angle2)
Plots an arc.
static nserror monkey_plot_text(const struct redraw_context *ctx, const struct plot_font_style *fstyle, int x, int y, const char *text, size_t length)
Text plotting.
static const struct plotter_table plotters
monkey plotter operations table
static nserror monkey_plot_rectangle(const struct redraw_context *ctx, const plot_style_t *style, const struct rect *rect)
Plots a rectangle.
int moutf(enum monkey_output_type mout_type, const char *fmt,...)
#define plot_style_fixed_to_float(v)
RISC OS wimp toolkit bitmap.
Plot style for stroke/fill plotters.
plot_style_fixed stroke_width
Width of stroke, in pixels.
Plotter operations table.
nserror(* clip)(const struct redraw_context *ctx, const struct rect *clip)
Sets a clip rectangle for subsequent plot operations.
uint32_t colour
Colour type: XBGR.
Interface to a number of general purpose functionality.
static nserror line(const struct redraw_context *ctx, const plot_style_t *style, const struct rect *line)
Plots a line.
static nserror text(const struct redraw_context *ctx, const struct plot_font_style *fstyle, int x, int y, const char *text, size_t length)
Text plotting.
static nserror clip(const struct redraw_context *ctx, const struct rect *clip)
Sets a clip rectangle for subsequent plot operations.