mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Soft mask implementation
This commit is contained in:
@ -192,6 +192,18 @@ public:
|
||||
/// \param Cs Source color
|
||||
static PDFCMYK blend_Nonseparable(BlendMode mode, PDFCMYK Cb, PDFCMYK Cs);
|
||||
|
||||
/// Get luminosity from color value
|
||||
/// \param gray Color value
|
||||
static PDFColorComponent getLuminosity(PDFGray gray);
|
||||
|
||||
/// Get luminosity from color value
|
||||
/// \param rgb Color value
|
||||
static PDFColorComponent getLuminosity(PDFRGB rgb);
|
||||
|
||||
/// Get luminosity from color value
|
||||
/// \param cmyk Color value
|
||||
static PDFColorComponent getLuminosity(PDFCMYK cmyk);
|
||||
|
||||
/// Union function
|
||||
static constexpr PDFColorComponent blend_Union(PDFColorComponent b, PDFColorComponent s) { return b + s - b * s; }
|
||||
|
||||
|
Reference in New Issue
Block a user