Free the canvas created by lwCreateCanvas(). */
| 101 | |
| 102 | /* Free the canvas created by lwCreateCanvas(). */ |
| 103 | void lwFreeCanvas(lwCanvas *canvas) { |
| 104 | zfree(canvas->pixels); |
| 105 | zfree(canvas); |
| 106 | } |
| 107 | |
| 108 | /* Set a pixel to the specified color. Color is 0 or 1, where zero means no |
| 109 | * dot will be displayed, and 1 means dot will be displayed. |
no test coverage detected