1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Using image data from PSD instead of manually flattening

This commit is contained in:
Brian Fiete 2020-08-09 10:12:52 -07:00
parent d47b231643
commit 8aa3e8ff22
6 changed files with 146 additions and 5 deletions

View file

@ -39,9 +39,10 @@ public:
void SwapRAndB();
void CreateNew(int x, int y, int width, int height, bool clear = true);
void CreateNew(int width, int height, bool clear = true);
void CopyFrom(ImageData* img, int x, int y);
void Fill(uint32 color);
virtual ImageData* Duplicate();
void SetSrcData(uint8* data, int dataLen);
void SetSrcData(uint8* data, int dataLen);
virtual bool LoadFromFile(const StringImpl& path);
virtual bool ReadData() { return false; }
virtual void PremultiplyAlpha();