diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-07-24 23:29:24 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-07-24 23:29:24 +0400 |
commit | 8509e94d3ad69aaa2bb3b14c5669ea9d596e3fd0 (patch) | |
tree | f0d901361b5f0572c33a2520fca65a2be204903b /source/blender/editors/include/ED_mask.h | |
parent | 72a106d56f4a224054aad911222a8206fd86b51d (diff) |
initial commit for supporting masks in the image view, currently active seq strip is used as the mask source.
also unify mask drawing code for clip/sequencer/image
Diffstat (limited to 'source/blender/editors/include/ED_mask.h')
-rw-r--r-- | source/blender/editors/include/ED_mask.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_mask.h b/source/blender/editors/include/ED_mask.h index 773da04bc7b..e155f6a9d02 100644 --- a/source/blender/editors/include/ED_mask.h +++ b/source/blender/editors/include/ED_mask.h @@ -35,13 +35,22 @@ struct wmKeyConfig; struct MaskLayer; struct MaskLayerShape; -/* mask_editor.c */ +/* mask_edit.c */ +void ED_mask_size(const struct bContext *C, int *width, int *height); +void ED_mask_aspect(const struct bContext *C, float *aspx, float *aspy); + void ED_operatortypes_mask(void); void ED_keymap_mask(struct wmKeyConfig *keyconf); void ED_operatormacros_mask(void); /* mask_draw.c */ void ED_mask_draw(const bContext *C, const char draw_flag, const char draw_type); +void ED_mask_draw_region(struct Mask *mask, struct ARegion *ar, + const char draw_flag, const char draw_type, + int width, int height, + const short do_scale_applied, const short do_post_draw, + float stabmat[4][4], + const bContext *C); /* mask_shapekey.c */ void ED_mask_layer_shape_auto_key(struct MaskLayer *masklay, const int frame); |