Fix Alpha type SoftMask and nesting of layers

This commit is contained in:
Svetlana Kulikova
2024-07-09 23:15:22 +03:00
parent f9ecfee609
commit ea76a114f3
10 changed files with 130 additions and 15 deletions

View File

@ -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