diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-11-17 15:47:44 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-11-17 15:57:16 +0300 |
commit | 7785a9c9d2a597a163ef085d94602a1b3aa94d70 (patch) | |
tree | 38836777f3bd707ef2eb16cec615ff2bc7ea2ca7 /source/blender/blenlib/BLI_rect.h | |
parent | 1e1c39fc89395c5e5a68a7a21500195cd8dc6fd5 (diff) |
BLI_rect: add a float version of the 'pad' function
Diffstat (limited to 'source/blender/blenlib/BLI_rect.h')
-rw-r--r-- | source/blender/blenlib/BLI_rect.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_rect.h b/source/blender/blenlib/BLI_rect.h index 1d742e2c28a..fb52436587f 100644 --- a/source/blender/blenlib/BLI_rect.h +++ b/source/blender/blenlib/BLI_rect.h @@ -65,6 +65,7 @@ void BLI_rcti_resize(struct rcti *rect, int x, int y); void BLI_rcti_resize_x(struct rcti *rect, int x); void BLI_rcti_resize_y(struct rcti *rect, int y); void BLI_rcti_pad(struct rcti *rect, int pad_x, int pad_y); +void BLI_rctf_pad(struct rctf *rect, float pad_x, float pad_y); void BLI_rctf_resize(struct rctf *rect, float x, float y); void BLI_rctf_resize_x(struct rctf *rect, float x); void BLI_rctf_resize_y(struct rctf *rect, float y); |