mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 20:41:49 +00:00
add ImageData.drawRect
This commit is contained in:
parent
b5408d9117
commit
0d2d5770d3
2 changed files with 37 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ public:
|
|||
void flipY();
|
||||
|
||||
void drawLine(int x1, int y1, int x2, int y2, const glm::ivec4& color);
|
||||
void drawRect(int x, int y, int width, int height, const glm::ivec4& color);
|
||||
void blit(const ImageData& image, int x, int y);
|
||||
void extrude(int x, int y, int w, int h);
|
||||
void fixAlphaColor();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue