Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-07-04 14:15:18 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-07-04 14:15:18 +0300
commitc497a7efabe73514cd051a02b0574e179b0efeb8 (patch)
tree4d51f44f1e66894b5725c48a890e6dd8e232c5fe /source/blender/imbuf/IMB_imbuf.h
parentb2e3f23bec156dfceab98032d35b761288976368 (diff)
ImBuf: add crop function (move out of screendump.c)
Diffstat (limited to 'source/blender/imbuf/IMB_imbuf.h')
-rw-r--r--source/blender/imbuf/IMB_imbuf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/imbuf/IMB_imbuf.h b/source/blender/imbuf/IMB_imbuf.h
index 8574f33bce6..fbaa9b06d3b 100644
--- a/source/blender/imbuf/IMB_imbuf.h
+++ b/source/blender/imbuf/IMB_imbuf.h
@@ -67,6 +67,7 @@
* \attention defined in ???
*/
struct ImBuf;
+struct rcti;
/**
*
@@ -222,6 +223,8 @@ void IMB_blend_color_byte(unsigned char dst[4],
IMB_BlendMode mode);
void IMB_blend_color_float(float dst[4], float src1[4], float src2[4], IMB_BlendMode mode);
+void IMB_rect_crop(struct ImBuf *ibuf, const struct rcti *crop);
+
void IMB_rectclip(struct ImBuf *dbuf,
struct ImBuf *sbuf,
int *destx,