feat: canvas from texture atlas element

This commit is contained in:
MihailRis
2025-11-05 00:20:58 +03:00
parent 497160a5b9
commit d9f2d54bf0
10 changed files with 126 additions and 28 deletions
+2
View File
@@ -33,6 +33,8 @@ public:
void extrude(int x, int y, int w, int h);
void fixAlphaColor();
std::unique_ptr<ImageData> cropped(int x, int y, int width, int height) const;
ubyte* getData() const {
return data.get();
}