Hot Door CORE 0.8.2
Adobe® Illustrator® Plug-in Library
Loading...
Searching...
No Matches
hdicoreMaskArt.h
Go to the documentation of this file.
1
7#ifndef __HDI_CORE_MASK_ART__
8#define __HDI_CORE_MASK_ART__
9
10#if defined(HDI_CORE_AIP_MODE)
11
12#include "hdicoreTypes.h"
13
14namespace hdi
15{
16 namespace core
17 {
18 class Art;
19
23 class MaskArt
24 {
25 public:
32
42 bool exists() const;
43
51 bool create();
52
60 bool dispose();
61
72 bool linked() const;
73
84 void setLinked(const bool link_);
85
95 bool enabled() const;
96
106 void setEnabled(const bool enable_);
107
118 bool inverted() const;
119
129 void setInverted(const bool invert_);
130
142 bool clipped() const;
143
155 void setClipped(const bool clip_);
156
165 bool copy(const Art& dest_) const;
166
174 std::unique_ptr<Art> maskArt() const;
175
176
177 private:
178 // Only Art can construct a new MaskArt object
179 friend class Art;
180
184 void* __data;
185
191 MaskArt();
192
200 MaskArt(void* const art_);
201
207 MaskArt(const MaskArt&);
208
214 MaskArt& operator=(const MaskArt&);
215 };
216 }
217}
218
219#endif
220// HDI_CORE_AIP_MODE
221
222#endif
223// __HDI_CORE_MASK_ART__
Handles general art-related functionality.
Definition: hdicoreArt.h:51
Allows for mask manipulation, metadata access, etc.
Definition: hdicoreMaskArt.h:24
void setInverted(const bool invert_)
Sets the inversion state of the target mask.
std::unique_ptr< Art > maskArt() const
Gets the art object that comprises the opacity mask.
bool create()
Creates a mask for the related art object if one does not already exists.
bool inverted() const
Gets the inversion state of the target mask.
bool exists() const
Gets whether a mask for the related art already exists.
void setClipped(const bool clip_)
Sets the clipping state of the target mask.
~MaskArt()
Destructs a MaskArt object.
bool dispose()
Disposes the mask for the related art object, if one exists.
void setEnabled(const bool enable_)
Sets the enabled state of the target mask.
bool enabled() const
Gets the enabled state of the target mask.
void setLinked(const bool link_)
Sets the link state of the target mask.
bool linked() const
Gets the link state of the target mask.
bool clipped() const
Gets the clipping state of the target mask.
bool copy(const Art &dest_) const
Copies the target mask to some destination art.
Header file for a wide variety of necessary typedefs, enums, and forwards declarations.