feat: autoresize (extend/shrink) canvas element
This commit is contained in:
@@ -36,6 +36,7 @@ public:
|
||||
void mulColor(const ImageData& other);
|
||||
void addColor(const glm::ivec4& color, int multiplier);
|
||||
void addColor(const ImageData& other, int multiplier);
|
||||
void extend(int newWidth, int newHeight);
|
||||
|
||||
std::unique_ptr<ImageData> cropped(int x, int y, int width, int height) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user