mirror of
https://github.com/edubart/otclient.git
synced 2025-12-28 18:37:12 +01:00
graphics fixes and improvements
This commit is contained in:
@@ -35,7 +35,9 @@ public:
|
||||
static ImagePtr loadPNG(const std::string& file);
|
||||
|
||||
void overwriteMask(const Color& maskedColor, const Color& insideColor = Color::white, const Color& outsideColor = Color::alpha);
|
||||
void append(const Point& dest, const ImagePtr &other);
|
||||
void blit(const Point& dest, const ImagePtr& other);
|
||||
void paste(const ImagePtr& other);
|
||||
bool nextMipmap();
|
||||
|
||||
std::vector<uint8>& getPixels() { return m_pixels; }
|
||||
uint8* getPixelData() { return &m_pixels[0]; }
|
||||
|
||||
Reference in New Issue
Block a user