PDF SDK Documentation

Comprehensive Guide for Developers: Features, Integration, and API Reference

Loading...
Searching...
No Matches
soft_mask.h
1// Copyright (c) 2009-2025 Avanquest Software. All rights reserved.
2
3#ifndef PDFSDK_CXX_PDF_SOFT_MASK_H_INCLUDED_
4#define PDFSDK_CXX_PDF_SOFT_MASK_H_INCLUDED_
5
6#include "forward_declarations.h"
7#include "wrapper_base.h"
8
9namespace PDF {
10
16class SoftMask : public detail::RefCountedHandle<PDESoftMask> {
17public:
24
30 bool Equals(const SoftMask& that) const;
31
37
43
49
54 void SetGroup(const XObject& group);
55
60 PDColorValue GetBackdropColor() const;
61
66 void SetBackdropColor(PDColorValue backdrop);
67
73
78 void SetTransferFunction(const Function& transfer);
79
80 PDF_CXX_CORE_WRAPPER_DEFINE_MEMBERS_(SoftMask, PDESoftMask)
81};
82
83} // namespace PDF
84
85#include "soft_mask_impl.inl"
86
87#endif // PDFSDK_CXX_PDF_SOFT_MASK_H_INCLUDED_
Represents a PDF document.
Definition document.h:22
Represents a function that maps input values to output values.
Definition function.h:15
Represents a soft mask in a PDF document.
Definition soft_mask.h:16
SoftMask Create(const Document &doc)
void SetBackdropColor(PDColorValue backdrop)
PDColorValue GetBackdropColor() const
void SetGroup(const XObject &group)
void SetTransferFunction(const Function &transfer)
bool Equals(const SoftMask &that) const
void SetSubtype(PDESoftMaskSubtype subtype)
XObject GetGroup() const
PDESoftMaskSubtype GetSubtype() const
Function GetTransferFunction() const
Represents an XObject in a PDF document.
Definition xobject.h:22
PDESoftMaskSubtype
Specifies the way to obtain a transparency effect of a graphical element.
Definition content.h:48