You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,6 @@ Although this project doesn't work in sprints, there is a [*sprint board*](https
22
22
23
23
## Please Note
24
24
25
-
- This software only works on systems capable of running 64-bit code.
26
-
27
25
- This is a library only. If you're looking for something that is immediately usable for the end-user, you probably want to look at [sxbp](https://github.com/saxbophone/sxbp) instead, which is a command-line program I wrote which uses libsxbp to render input binary files to PNG images.
28
26
29
27
- As libsxbp is currently at major version 0, expect the library API to be unstable. I will endeavour as much as possible to make sure breaking changes increment the minor version number whilst in the version 0.x.x series and bugfixes increment the patch version number, but no heavy reliance should be placed on this.
<divid="projectbrief">Experimental generation of 2D spiralling lines based on input binary data.</div>
30
31
</td>
@@ -93,8 +94,8 @@
93
94
<divclass="contents">
94
95
<ahref="backend__pbm_8h.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> <spanclass="comment">/*</span></div><divclass="line"><aname="l00002"></a><spanclass="lineno"> 2</span> <spanclass="comment"> * This source file forms part of libsxbp, a library which generates</span></div><divclass="line"><aname="l00003"></a><spanclass="lineno"> 3</span> <spanclass="comment"> * experimental 2D spiral-like shapes based on input binary data.</span></div><divclass="line"><aname="l00004"></a><spanclass="lineno"> 4</span> <spanclass="comment"> */</span></div><divclass="line"><aname="l00005"></a><spanclass="lineno"> 5</span> </div><divclass="line"><aname="l00025"></a><spanclass="lineno"> 25</span> <spanclass="preprocessor">#ifndef SAXBOPHONE_SAXBOSPIRAL_BACKEND_PBM_H</span></div><divclass="line"><aname="l00026"></a><spanclass="lineno"> 26</span> <spanclass="preprocessor">#define SAXBOPHONE_SAXBOSPIRAL_BACKEND_PBM_H</span></div><divclass="line"><aname="l00027"></a><spanclass="lineno"> 27</span> </div><divclass="line"><aname="l00028"></a><spanclass="lineno"> 28</span> <spanclass="preprocessor">#include "../saxbospiral.h"</span></div><divclass="line"><aname="l00029"></a><spanclass="lineno"> 29</span> <spanclass="preprocessor">#include "../render.h"</span></div><divclass="line"><aname="l00030"></a><spanclass="lineno"> 30</span> </div><divclass="line"><aname="l00031"></a><spanclass="lineno"> 31</span> </div><divclass="line"><aname="l00032"></a><spanclass="lineno"> 32</span> <spanclass="preprocessor">#ifdef __cplusplus</span></div><divclass="line"><aname="l00033"></a><spanclass="lineno"> 33</span> <spanclass="keyword">extern</span><spanclass="stringliteral">"C"</span>{</div><divclass="line"><aname="l00034"></a><spanclass="lineno"> 34</span> <spanclass="preprocessor">#endif</span></div><divclass="line"><aname="l00035"></a><spanclass="lineno"> 35</span> </div><divclass="line"><aname="l00048"></a><spanclass="lineno"> 48</span> <aclass="code" href="saxbospiral_8h.html#aaf3547c499b3c2c5909819d6790533e7">sxbp_status_t</a><aclass="code" href="backend__pbm_8h.html#a5d36e5bbb54b1d681b8d1cf8beb3c96d">sxbp_render_backend_pbm</a>(</div><divclass="line"><aname="l00049"></a><spanclass="lineno"> 49</span>  <aclass="code" href="structsxbp__bitmap__t.html">sxbp_bitmap_t</a> bitmap, <aclass="code" href="structsxbp__buffer__t.html">sxbp_buffer_t</a>* buffer</div><divclass="line"><aname="l00050"></a><spanclass="lineno"> 50</span> );</div><divclass="line"><aname="l00051"></a><spanclass="lineno"> 51</span> </div><divclass="line"><aname="l00052"></a><spanclass="lineno"> 52</span> <spanclass="preprocessor">#ifdef __cplusplus</span></div><divclass="line"><aname="l00053"></a><spanclass="lineno"> 53</span> } <spanclass="comment">// extern "C"</span></div><divclass="line"><aname="l00054"></a><spanclass="lineno"> 54</span> <spanclass="preprocessor">#endif</span></div><divclass="line"><aname="l00055"></a><spanclass="lineno"> 55</span> </div><divclass="line"><aname="l00056"></a><spanclass="lineno"> 56</span> <spanclass="comment">// end of header file</span></div><divclass="line"><aname="l00057"></a><spanclass="lineno"> 57</span> <spanclass="preprocessor">#endif</span></div><divclass="ttc" id="backend__pbm_8h_html_a5d36e5bbb54b1d681b8d1cf8beb3c96d"><divclass="ttname"><ahref="backend__pbm_8h.html#a5d36e5bbb54b1d681b8d1cf8beb3c96d">sxbp_render_backend_pbm</a></div><divclass="ttdeci">sxbp_status_t sxbp_render_backend_pbm(sxbp_bitmap_t bitmap, sxbp_buffer_t *buffer)</div><divclass="ttdoc">Renders a bitmap image to a PBM image. </div><divclass="ttdef"><b>Definition:</b> backend_pbm.c:29</div></div>
95
96
<divclass="ttc" id="structsxbp__bitmap__t_html"><divclass="ttname"><ahref="structsxbp__bitmap__t.html">sxbp_bitmap_t</a></div><divclass="ttdoc">Used to represent a basic 1-bit, pure black/white bitmap image. </div><divclass="ttdef"><b>Definition:</b> render.h:40</div></div>
96
-
<divclass="ttc" id="structsxbp__buffer__t_html"><divclass="ttname"><ahref="structsxbp__buffer__t.html">sxbp_buffer_t</a></div><divclass="ttdoc">A simple buffer type for storing arrays of bytes. </div><divclass="ttdef"><b>Definition:</b> saxbospiral.h:209</div></div>
97
-
<divclass="ttc" id="saxbospiral_8h_html_aaf3547c499b3c2c5909819d6790533e7"><divclass="ttname"><ahref="saxbospiral_8h.html#aaf3547c499b3c2c5909819d6790533e7">sxbp_status_t</a></div><divclass="ttdeci">sxbp_status_t</div><divclass="ttdoc">Represents the success or failure status of an executed function. </div><divclass="ttdef"><b>Definition:</b> saxbospiral.h:74</div></div>
97
+
<divclass="ttc" id="structsxbp__buffer__t_html"><divclass="ttname"><ahref="structsxbp__buffer__t.html">sxbp_buffer_t</a></div><divclass="ttdoc">A simple buffer type for storing arrays of bytes. </div><divclass="ttdef"><b>Definition:</b> saxbospiral.h:217</div></div>
98
+
<divclass="ttc" id="saxbospiral_8h_html_aaf3547c499b3c2c5909819d6790533e7"><divclass="ttname"><ahref="saxbospiral_8h.html#aaf3547c499b3c2c5909819d6790533e7">sxbp_status_t</a></div><divclass="ttdeci">sxbp_status_t</div><divclass="ttdoc">Represents the success or failure status of an executed function. </div><divclass="ttdef"><b>Definition:</b> saxbospiral.h:86</div></div>
<divid="projectbrief">Experimental generation of 2D spiralling lines based on input binary data.</div>
30
31
</td>
@@ -92,10 +93,10 @@
92
93
</div><!--header-->
93
94
<divclass="contents">
94
95
<ahref="backend__png_8h.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> <spanclass="comment">/*</span></div><divclass="line"><aname="l00002"></a><spanclass="lineno"> 2</span> <spanclass="comment"> * This source file forms part of libsxbp, a library which generates</span></div><divclass="line"><aname="l00003"></a><spanclass="lineno"> 3</span> <spanclass="comment"> * experimental 2D spiral-like shapes based on input binary data.</span></div><divclass="line"><aname="l00004"></a><spanclass="lineno"> 4</span> <spanclass="comment"> */</span></div><divclass="line"><aname="l00005"></a><spanclass="lineno"> 5</span> </div><divclass="line"><aname="l00027"></a><spanclass="lineno"> 27</span> <spanclass="preprocessor">#ifndef SAXBOPHONE_SAXBOSPIRAL_BACKEND_PNG_H</span></div><divclass="line"><aname="l00028"></a><spanclass="lineno"> 28</span> <spanclass="preprocessor">#define SAXBOPHONE_SAXBOSPIRAL_BACKEND_PNG_H</span></div><divclass="line"><aname="l00029"></a><spanclass="lineno"> 29</span> </div><divclass="line"><aname="l00030"></a><spanclass="lineno"> 30</span> <spanclass="preprocessor">#include <stdbool.h></span></div><divclass="line"><aname="l00031"></a><spanclass="lineno"> 31</span> </div><divclass="line"><aname="l00032"></a><spanclass="lineno"> 32</span> <spanclass="preprocessor">#include "../saxbospiral.h"</span></div><divclass="line"><aname="l00033"></a><spanclass="lineno"> 33</span> <spanclass="preprocessor">#include "../render.h"</span></div><divclass="line"><aname="l00034"></a><spanclass="lineno"> 34</span> </div><divclass="line"><aname="l00035"></a><spanclass="lineno"> 35</span> </div><divclass="line"><aname="l00036"></a><spanclass="lineno"> 36</span> <spanclass="preprocessor">#ifdef __cplusplus</span></div><divclass="line"><aname="l00037"></a><spanclass="lineno"> 37</span> <spanclass="keyword">extern</span><spanclass="stringliteral">"C"</span>{</div><divclass="line"><aname="l00038"></a><spanclass="lineno"> 38</span> <spanclass="preprocessor">#endif</span></div><divclass="line"><aname="l00039"></a><spanclass="lineno"> 39</span> </div><divclass="line"><aname="l00046"></a><spanclass="lineno"> 46</span> <spanclass="keyword">extern</span><spanclass="keyword">const</span><spanclass="keywordtype">bool</span><aclass="code" href="backend__png_8h.html#a1255dbf61962794ceb7b1b196eae5670">SXBP_PNG_SUPPORT</a>;</div><divclass="line"><aname="l00047"></a><spanclass="lineno"> 47</span> </div><divclass="line"><aname="l00061"></a><spanclass="lineno"> 61</span> <aclass="code" href="saxbospiral_8h.html#aaf3547c499b3c2c5909819d6790533e7">sxbp_status_t</a><aclass="code" href="backend__png_8h.html#a993101e4647f141478a2afb4402730c7">sxbp_render_backend_png</a>(</div><divclass="line"><aname="l00062"></a><spanclass="lineno"> 62</span>  <aclass="code" href="structsxbp__bitmap__t.html">sxbp_bitmap_t</a> bitmap, <aclass="code" href="structsxbp__buffer__t.html">sxbp_buffer_t</a>* buffer</div><divclass="line"><aname="l00063"></a><spanclass="lineno"> 63</span> );</div><divclass="line"><aname="l00064"></a><spanclass="lineno"> 64</span> </div><divclass="line"><aname="l00065"></a><spanclass="lineno"> 65</span> <spanclass="preprocessor">#ifdef __cplusplus</span></div><divclass="line"><aname="l00066"></a><spanclass="lineno"> 66</span> } <spanclass="comment">// extern "C"</span></div><divclass="line"><aname="l00067"></a><spanclass="lineno"> 67</span> <spanclass="preprocessor">#endif</span></div><divclass="line"><aname="l00068"></a><spanclass="lineno"> 68</span> </div><divclass="line"><aname="l00069"></a><spanclass="lineno"> 69</span> <spanclass="comment">// end of header file</span></div><divclass="line"><aname="l00070"></a><spanclass="lineno"> 70</span> <spanclass="preprocessor">#endif</span></div><divclass="ttc" id="structsxbp__bitmap__t_html"><divclass="ttname"><ahref="structsxbp__bitmap__t.html">sxbp_bitmap_t</a></div><divclass="ttdoc">Used to represent a basic 1-bit, pure black/white bitmap image. </div><divclass="ttdef"><b>Definition:</b> render.h:40</div></div>
95
-
<divclass="ttc" id="structsxbp__buffer__t_html"><divclass="ttname"><ahref="structsxbp__buffer__t.html">sxbp_buffer_t</a></div><divclass="ttdoc">A simple buffer type for storing arrays of bytes. </div><divclass="ttdef"><b>Definition:</b> saxbospiral.h:209</div></div>
96
+
<divclass="ttc" id="structsxbp__buffer__t_html"><divclass="ttname"><ahref="structsxbp__buffer__t.html">sxbp_buffer_t</a></div><divclass="ttdoc">A simple buffer type for storing arrays of bytes. </div><divclass="ttdef"><b>Definition:</b> saxbospiral.h:217</div></div>
96
97
<divclass="ttc" id="backend__png_8h_html_a1255dbf61962794ceb7b1b196eae5670"><divclass="ttname"><ahref="backend__png_8h.html#a1255dbf61962794ceb7b1b196eae5670">SXBP_PNG_SUPPORT</a></div><divclass="ttdeci">const bool SXBP_PNG_SUPPORT</div><divclass="ttdoc">Flag for whether PNG output support has been enabled. </div><divclass="ttdef"><b>Definition:</b> backend_png.c:81</div></div>
97
98
<divclass="ttc" id="backend__png_8h_html_a993101e4647f141478a2afb4402730c7"><divclass="ttname"><ahref="backend__png_8h.html#a993101e4647f141478a2afb4402730c7">sxbp_render_backend_png</a></div><divclass="ttdeci">sxbp_status_t sxbp_render_backend_png(sxbp_bitmap_t bitmap, sxbp_buffer_t *buffer)</div><divclass="ttdoc">Renders a bitmap image to a PNG image. </div><divclass="ttdef"><b>Definition:</b> backend_png.c:84</div></div>
98
-
<divclass="ttc" id="saxbospiral_8h_html_aaf3547c499b3c2c5909819d6790533e7"><divclass="ttname"><ahref="saxbospiral_8h.html#aaf3547c499b3c2c5909819d6790533e7">sxbp_status_t</a></div><divclass="ttdeci">sxbp_status_t</div><divclass="ttdoc">Represents the success or failure status of an executed function. </div><divclass="ttdef"><b>Definition:</b> saxbospiral.h:74</div></div>
99
+
<divclass="ttc" id="saxbospiral_8h_html_aaf3547c499b3c2c5909819d6790533e7"><divclass="ttname"><ahref="saxbospiral_8h.html#aaf3547c499b3c2c5909819d6790533e7">sxbp_status_t</a></div><divclass="ttdeci">sxbp_status_t</div><divclass="ttdoc">Represents the success or failure status of an executed function. </div><divclass="ttdef"><b>Definition:</b> saxbospiral.h:86</div></div>
0 commit comments