mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 21:47:00 -04:00
AlphaMask combines alphas instead of overwriting
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@772 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -130,6 +130,8 @@ void draw_combine_image(DC& dc, UInt x, UInt y, const Image& img, ImageCombine c
|
||||
|
||||
/// Use the red channel of img_alpha as alpha channel for img
|
||||
void set_alpha(Image& img, const Image& img_alpha);
|
||||
/// Use the given bytes as alpha channel for img
|
||||
void set_alpha(Image& img, Byte* alphas, const wxSize& alphas_size);
|
||||
/// Set the transparency of img
|
||||
void set_alpha(Image& img, double alpha);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user