mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Mask image
This commit is contained in:
@ -85,7 +85,6 @@ public:
|
||||
{
|
||||
None,
|
||||
ColorKeyMasking, ///< Masking by color key
|
||||
Image, ///< Masking by image with alpha mask
|
||||
ImageMask, ///< Masking by 1-bit image (see "ImageMask" entry in image's dictionary), current color from the graphic state is used to paint an image
|
||||
SoftMask, ///< Image is masked by soft mask
|
||||
};
|
||||
@ -136,6 +135,9 @@ public:
|
||||
const std::vector<PDFReal>& getDecode() const { return m_decode; }
|
||||
const std::vector<PDFReal>& getMatte() const { return m_matte; }
|
||||
|
||||
void setMaskingType(MaskingType maskingType) { m_maskingType = maskingType; }
|
||||
void setDecode(std::vector<PDFReal> decode) { m_decode = qMove(decode); }
|
||||
|
||||
/// Returns number of color channels
|
||||
unsigned int getColorChannels() const { return m_components; }
|
||||
|
||||
|
Reference in New Issue
Block a user