diff options
author | pacien | 2017-12-02 15:53:12 +0100 |
---|---|---|
committer | pacien | 2017-12-02 15:53:12 +0100 |
commit | c5daea85639d713fb66bafd19afb0fdaea2c6624 (patch) | |
tree | be24855806dfcd3381d2c873926c34a3046904bd | |
parent | da86056179506d70d329e3482f1b4178cf8ab611 (diff) | |
download | morpher-c5daea85639d713fb66bafd19afb0fdaea2c6624.tar.gz |
Rename canvas dim. func.
Signed-off-by: pacien <pacien.trangirard@pacien.net>
-rw-r--r-- | include/blender/canvas.h | 2 | ||||
-rw-r--r-- | src/blender/canvas.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/blender/canvas.h b/include/blender/canvas.h index 7fb9fdd..fe74c5e 100644 --- a/include/blender/canvas.h +++ b/include/blender/canvas.h | |||
@@ -74,6 +74,6 @@ Color canvas_get_pixel(Canvas *canvas, CartesianVector position); | |||
74 | * Returns: | 74 | * Returns: |
75 | * The size of the canvas | 75 | * The size of the canvas |
76 | */ | 76 | */ |
77 | CartesianVector canvas_get_size(Canvas *canvas); | 77 | CartesianVector canvas_get_dim(Canvas *canvas); |
78 | 78 | ||
79 | #endif | 79 | #endif |
diff --git a/src/blender/canvas.c b/src/blender/canvas.c index 3710249..044ae97 100644 --- a/src/blender/canvas.c +++ b/src/blender/canvas.c | |||
@@ -18,6 +18,6 @@ Color canvas_get_pixel(Canvas *canvas, CartesianVector position) { | |||
18 | return (Color) {{r, g, b, a}}; | 18 | return (Color) {{r, g, b, a}}; |
19 | } | 19 | } |
20 | 20 | ||
21 | CartesianVector canvas_get_size(Canvas *canvas) { | 21 | CartesianVector canvas_get_dim(Canvas *canvas) { |
22 | return (CartesianVector) {MLV_get_image_width(canvas->mlv), MLV_get_image_height(canvas->mlv)}; | 22 | return (CartesianVector) {MLV_get_image_width(canvas->mlv), MLV_get_image_height(canvas->mlv)}; |
23 | } | 23 | } |