libsxbp  v0.27
Experimental generation of 2D spiralling lines based on input binary data.
backend_pbm.h
Go to the documentation of this file.
1 /*
2  * This source file forms part of libsxbp, a library which generates
3  * experimental 2D spiral-like shapes based on input binary data.
4  */
5 
25 #ifndef SAXBOPHONE_SAXBOSPIRAL_BACKEND_PBM_H
26 #define SAXBOPHONE_SAXBOSPIRAL_BACKEND_PBM_H
27 
28 #include "../saxbospiral.h"
29 #include "../render.h"
30 
31 
32 #ifdef __cplusplus
33 extern "C"{
34 #endif
35 
49  sxbp_bitmap_t bitmap, sxbp_buffer_t* buffer
50 );
51 
52 #ifdef __cplusplus
53 } // extern "C"
54 #endif
55 
56 // end of header file
57 #endif
sxbp_status_t sxbp_render_backend_pbm(sxbp_bitmap_t bitmap, sxbp_buffer_t *buffer)
Renders a bitmap image to a PBM image.
Definition: backend_pbm.c:29
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
sxbp_status_t
Represents the success or failure status of an executed function.
Definition: saxbospiral.h:87