add canvas:sub method

This commit is contained in:
MihailRis
2025-11-11 19:34:40 +03:00
parent 83f7bf80c4
commit 34d13442b6
5 changed files with 25 additions and 8 deletions
+2 -2
View File
@@ -34,8 +34,8 @@ public:
void fixAlphaColor();
void mulColor(const glm::ivec4& color);
void mulColor(const ImageData& other);
void addColor(const glm::ivec4& color);
void addColor(const ImageData& other);
void addColor(const glm::ivec4& color, int multiplier);
void addColor(const ImageData& other, int multiplier);
std::unique_ptr<ImageData> cropped(int x, int y, int width, int height) const;