Create CSoftMask

This commit is contained in:
Svetlana Kulikova
2024-07-12 18:25:11 +03:00
parent f8e894af67
commit 2d213df8af
9 changed files with 217 additions and 179 deletions

View File

@ -31,12 +31,6 @@ 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
template<unsigned R, unsigned G, unsigned B>