22 #ifndef SAXBOPHONE_SAXBOSPIRAL_RENDER_H 23 #define SAXBOPHONE_SAXBOSPIRAL_RENDER_H This compilation unit provides most of the data types used by the library, as well as defining some l...
struct sxbp_bitmap_t sxbp_bitmap_t
Used to represent a basic 1-bit, pure black/white bitmap image.
uint32_t height
The height of the bitmap in pixels.
Definition: render.h:44
sxbp_status_t sxbp_render_spiral_image(sxbp_spiral_t spiral, sxbp_buffer_t *buffer, sxbp_status_t(*image_writer_callback)(sxbp_bitmap_t image, sxbp_buffer_t *buffer))
Renders the line of a spiral to an image format.
Definition: render.c:143
bool ** pixels
A 2-dimensional array of pixels.
Definition: render.h:49
Used to represent a basic 1-bit, pure black/white bitmap image.
Definition: render.h:40
A simple buffer type for storing arrays of bytes.
Definition: saxbospiral.h:236
uint32_t width
The width of the bitmap in pixels.
Definition: render.h:42
Struct type representing a Spiral figure, in any state of completion.
Definition: saxbospiral.h:189
sxbp_status_t sxbp_render_spiral_raw(sxbp_spiral_t spiral, sxbp_bitmap_t *image)
Renders the line of a spiral to a bitmap.
Definition: render.c:65
sxbp_status_t
Represents the success or failure status of an executed function.
Definition: saxbospiral.h:87