summaryrefslogtreecommitdiff
path: root/src/painter/canvas.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/painter/canvas.c')
-rw-r--r--src/painter/canvas.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/painter/canvas.c b/src/painter/canvas.c
index 306dc9c..478173d 100644
--- a/src/painter/canvas.c
+++ b/src/painter/canvas.c
@@ -1,6 +1,13 @@
1#include "painter/canvas.h" 1#include "painter/canvas.h"
2#include "common/mem.h" 2#include "common/mem.h"
3 3
4/**
5 * File: canvas.c
6 *
7 * Author:
8 * Pacien TRAN-GIRARD
9 */
10
4Canvas *canvas_create(IntVector width, IntVector height) { 11Canvas *canvas_create(IntVector width, IntVector height) {
5 Canvas *c = malloc_or_die(sizeof(Canvas)); 12 Canvas *c = malloc_or_die(sizeof(Canvas));
6 c->mlv = MLV_create_image(width, height); 13 c->mlv = MLV_create_image(width, height);