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
36 PDESoftMaskSubtype GetSubtype() const;
37
42 void SetSubtype(PDESoftMaskSubtype subtype);
43
49
54 void SetGroup(const XObject& group);
55
61
66 void SetBackdropColor(const Color& 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 color in a PDF document.
Definition color.h:20
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
Color GetBackdropColor() const
SoftMask Create(const Document &doc)
void SetGroup(const XObject &group)
void SetBackdropColor(const Color &backdrop)
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