diff options
author | pacien | 2017-12-28 01:23:08 +0100 |
---|---|---|
committer | pacien | 2017-12-28 01:23:08 +0100 |
commit | 330fd85db8c89c178621d978929d911bbe93fec7 (patch) | |
tree | b47e049846b10641776af8ea3673ab61dd2d4d45 /include/blender | |
parent | 190449ee18bec69b2e385dccd9bd42ddc83dd418 (diff) | |
download | morpher-330fd85db8c89c178621d978929d911bbe93fec7.tar.gz |
Refactor canvas blender into rasterizer
Signed-off-by: pacien <pacien.trangirard@pacien.net>
Diffstat (limited to 'include/blender')
-rw-r--r-- | include/blender/blender.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/include/blender/blender.h b/include/blender/blender.h deleted file mode 100644 index 26ff802..0000000 --- a/include/blender/blender.h +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | #ifndef UPEM_MORPHING_BLENDER | ||
2 | #define UPEM_MORPHING_BLENDER | ||
3 | |||
4 | /** | ||
5 | * File: blender.h | ||
6 | * Will it blend? That is the question. | ||
7 | */ | ||
8 | |||
9 | #include "common/time.h" | ||
10 | #include "blender/canvas.h" | ||
11 | #include "morpher/morphing.h" | ||
12 | |||
13 | /** | ||
14 | * Function: blender_blend_canvas | ||
15 | * Blends two canvas by applying the given morphing at the requested time frame. | ||
16 | * | ||
17 | * Parameters: | ||
18 | * *canvas - pointer to the canvas to paint | ||
19 | * *source - source image | ||
20 | * *target - target image | ||
21 | * *morphing - morphing transform to apply | ||
22 | * frame - the interpolation distance from the origin canvas [0;1] | ||
23 | */ | ||
24 | void blender_blend_canvas(Canvas *canvas, Canvas *source, Canvas *target, Morphing *morphing, TimeVector frame); | ||
25 | |||
26 | #endif | ||