mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
Fix Alpha type SoftMask and nesting of layers
This commit is contained in:
@ -30,6 +30,12 @@ namespace agg
|
||||
{
|
||||
static unsigned calculate(const int8u* p) { return *p; }
|
||||
};
|
||||
|
||||
//===================================================four_component_mask_u8
|
||||
struct four_component_mask_u8
|
||||
{
|
||||
static unsigned calculate(const int8u* p) { return p[3]; }
|
||||
};
|
||||
|
||||
|
||||
//=====================================================rgb_to_gray_mask_u8
|
||||
|
||||
Reference in New Issue
Block a user