mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-21 09:59:44 +00:00
add canvas:mul and canvas:add methods
This commit is contained in:
parent
b9777cc682
commit
83f7bf80c4
5 changed files with 131 additions and 0 deletions
|
|
@ -32,6 +32,10 @@ public:
|
|||
void blit(const ImageData& image, int x, int y);
|
||||
void extrude(int x, int y, int w, int h);
|
||||
void fixAlphaColor();
|
||||
void mulColor(const glm::ivec4& color);
|
||||
void mulColor(const ImageData& other);
|
||||
void addColor(const glm::ivec4& color);
|
||||
void addColor(const ImageData& other);
|
||||
|
||||
std::unique_ptr<ImageData> cropped(int x, int y, int width, int height) const;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue