picofuse

Data Structures | Typedefs
bitmap.h File Reference

Plain in-memory pixel bitmap descriptor. More...

#include "types.h"
#include <stddef.h>
Include dependency graph for bitmap.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pix_bitmap_t
 Plain in-memory pixel bitmap descriptor. More...
 

Typedefs

typedef struct pix_bitmap_ops_t pix_bitmap_ops_t
 Backend-specific bitmap operations - opaque to public API callers.
 

Functions

Methods
pix_color_t pix_bitmap_get_pixel (const pix_bitmap_t *bitmap, pix_point_t point)
 Read a single pixel's color. More...
 
void pix_bitmap_set_pixel (pix_bitmap_t *bitmap, pix_point_t point, pix_color_t color)
 Write a single pixel's color. More...
 
void pix_bitmap_fill_rect (pix_bitmap_t *bitmap, pix_point_t origin, pix_size_t size, pix_color_t color)
 Fill a rectangle with a single color. More...
 
void pix_bitmap_draw_line (pix_bitmap_t *bitmap, pix_point_t a, pix_point_t b, pix_color_t color)
 Draw a straight line between two points. More...
 
void pix_bitmap_set_op (pix_bitmap_t *bitmap, pix_op_t op)
 Change a bitmap's compositing mode. More...
 

Detailed Description

Plain in-memory pixel bitmap descriptor.

Definition in file bitmap.h.