mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
![]() Introduced CompositeMethod::LumaMask that converts the source pixels to the grayscale (luma value) before alpha blending. Thanks to it, mask works more like typical mask in graphics editor software. Grayscale is calculated with weighted method: (0.0721*B + 0.7154*G + 0.2125*R) * A Introduced surface->blender.lumaValue function |
||
---|---|---|
.. | ||
meson.build | ||
thorvg.h |