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
9
namespace
PDF {
10
16
class
SoftMask
:
public
detail::RefCountedHandle<PDESoftMask> {
17
public
:
23
SoftMask
Create
(
const
Document
& doc);
24
30
bool
Equals
(
const
SoftMask
& that)
const
;
31
36
PDESoftMaskSubtype
GetSubtype
()
const
;
37
42
void
SetSubtype
(
PDESoftMaskSubtype
subtype);
43
48
XObject
GetGroup
()
const
;
49
54
void
SetGroup
(
const
XObject
& group);
55
60
PDColorValue
GetBackdropColor
()
const
;
61
66
void
SetBackdropColor
(PDColorValue backdrop);
67
72
Function
GetTransferFunction
()
const
;
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_
PDF::Document
Represents a PDF document.
Definition
document.h:22
PDF::Function
Represents a function that maps input values to output values.
Definition
function.h:15
PDF::SoftMask
Represents a soft mask in a PDF document.
Definition
soft_mask.h:16
PDF::SoftMask::Create
SoftMask Create(const Document &doc)
PDF::SoftMask::SetBackdropColor
void SetBackdropColor(PDColorValue backdrop)
PDF::SoftMask::GetBackdropColor
PDColorValue GetBackdropColor() const
PDF::SoftMask::SetGroup
void SetGroup(const XObject &group)
PDF::SoftMask::SetTransferFunction
void SetTransferFunction(const Function &transfer)
PDF::SoftMask::Equals
bool Equals(const SoftMask &that) const
PDF::SoftMask::SetSubtype
void SetSubtype(PDESoftMaskSubtype subtype)
PDF::SoftMask::GetGroup
XObject GetGroup() const
PDF::SoftMask::GetSubtype
PDESoftMaskSubtype GetSubtype() const
PDF::SoftMask::GetTransferFunction
Function GetTransferFunction() const
PDF::XObject
Represents an XObject in a PDF document.
Definition
xobject.h:22
PDESoftMaskSubtype
PDESoftMaskSubtype
Specifies the way to obtain a transparency effect of a graphical element.
Definition
content.h:48