diff options
| author | Daniel J. Ramirez | 2017-11-17 21:42:14 -0600 |
|---|---|---|
| committer | Daniel J. Ramirez | 2017-11-17 21:42:14 -0600 |
| commit | 59c2e8906a5cb64b55f29d656a5a27366ace38a0 (patch) | |
| tree | 4c886d398eb4ac4e25c3ffb2681a3620f7dcc8b9 /core/image.h | |
| parent | 62eda56e67e2a0df6338f6b44ba43d71bb7a339a (diff) | |
| download | godot-59c2e8906a5cb64b55f29d656a5a27366ace38a0.tar.gz godot-59c2e8906a5cb64b55f29d656a5a27366ace38a0.tar.zst godot-59c2e8906a5cb64b55f29d656a5a27366ace38a0.zip | |
Diffstat (limited to 'core/image.h')
| -rw-r--r-- | core/image.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/image.h b/core/image.h index 27df65a89..24693aa70 100644 --- a/core/image.h +++ b/core/image.h @@ -207,6 +207,7 @@ public: /** * Crop the image to a specific size, if larger, then the image is filled by black */ + void crop_from_point(int p_x, int p_y, int p_width, int p_height); void crop(int p_width, int p_height); void flip_x(); |
