19#ifndef _NETSURF_RISCOS_BITMAP_H_
20#define _NETSURF_RISCOS_BITMAP_H_
24struct osspriteop_area;
25struct osspriteop_header;
33#define BITMAP_SAVE_FULL_ALPHA (1 << 0)
nserror
Enumeration of error codes.
void riscos_bitmap_destroy(void *vbitmap)
Free a bitmap.
unsigned char * riscos_bitmap_get_buffer(void *vbitmap)
Return a pointer to the pixel data in a bitmap.
struct gui_bitmap_table * riscos_bitmap_table
bitmap operations table
bool riscos_bitmap_save(void *vbitmap, const char *path, unsigned flags)
Save a bitmap in the platform's native format.
bool riscos_bitmap_get_opaque(void *vbitmap)
Gets whether a bitmap should be plotted opaque.
void * riscos_bitmap_create(int width, int height, enum gui_bitmap_flags flags)
Create a bitmap.
nserror riscos_bitmap_render(struct bitmap *bitmap, struct hlcache_handle *content)
Render content into bitmap.
struct osspriteop_area * riscos_bitmap_convert_8bpp(struct bitmap *bitmap)
Convert bitmap to 8bpp sprite.
void riscos_bitmap_overlay_sprite(struct bitmap *bitmap, const struct osspriteop_header *s)
Overlay a sprite onto the given bitmap.
Generic bitmap handling interface.
gui_bitmap_flags
Bitmap creation flags.
RISC OS wimp toolkit bitmap.
bool clear
Whether the bitmap should be initialised to zeros.
struct osspriteop_area * sprite_area
Uncompressed data, or NULL.
int height
height of bitmap
bool opaque
Whether the bitmap is opaque.
Content which corresponds to a single URL.
static 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.