diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-07-26 15:47:47 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-07-26 15:47:47 +0400 |
commit | f39a21c36f63f2dac4dc530f6ea3d98efc75fd9d (patch) | |
tree | 82a08421488ab985c5d9c08ff5ad0343ee55d598 /source/blender/editors/include | |
parent | fec872ef9c0bb6904cbe9a7b59b3f51ae7bb0702 (diff) |
add ED_space_image_get_size_fl, ED_space_clip_get_size_fl
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_clip.h | 1 | ||||
-rw-r--r-- | source/blender/editors/include/ED_image.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_clip.h b/source/blender/editors/include/ED_clip.h index 8949eb8442d..f1b405c2c3e 100644 --- a/source/blender/editors/include/ED_clip.h +++ b/source/blender/editors/include/ED_clip.h @@ -53,6 +53,7 @@ int ED_space_clip_maskedit_poll(struct bContext *C); int ED_space_clip_maskedit_mask_poll(bContext *C); void ED_space_clip_get_size(const struct bContext *C, int *width, int *height); +void ED_space_clip_get_size_fl(const struct bContext *C, float size[2]); void ED_space_clip_get_zoom(const struct bContext *C, float *zoomx, float *zoomy); void ED_space_clip_get_aspect(struct SpaceClip *sc, float *aspx, float *aspy); void ED_space_clip_get_aspect_dimension_aware(struct SpaceClip *sc, float *aspx, float *aspy); diff --git a/source/blender/editors/include/ED_image.h b/source/blender/editors/include/ED_image.h index 6edbe33de32..830a6104770 100644 --- a/source/blender/editors/include/ED_image.h +++ b/source/blender/editors/include/ED_image.h @@ -52,6 +52,7 @@ void ED_space_image_release_buffer(struct SpaceImage *sima, void *lock); int ED_space_image_has_buffer(struct SpaceImage *sima); void ED_space_image_get_size(struct SpaceImage *sima, int *width, int *height); +void ED_space_image_get_size_fl(struct SpaceImage *sima, float size[2]); void ED_space_image_get_aspect(struct SpaceImage *sima, float *aspx, float *aspy); void ED_space_image_get_zoom(struct SpaceImage *sima, struct ARegion *ar, float *zoomx, float *zoomy); void ED_space_image_get_uv_aspect(struct SpaceImage *sima, float *aspx, float *aspy); |