Hot Door CORE 0.8.2
Adobe® Illustrator® Plug-in Library
Loading...
Searching...
No Matches
hdicoreCustomArt.h
Go to the documentation of this file.
1
7#ifndef __HDI_CORE_CUSTOM_ART__
8#define __HDI_CORE_CUSTOM_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
24 {
25 public:
32
44 std::unique_ptr<Art> editableArt() const;
45
56 std::unique_ptr<Art> viewableArt() const;
57
67 void markDirty();
68
75 void markClean();
76
85
93 bool canBeClipMask() const;
94
102 void setCanBeClipMask(const bool canBe_);
103
104
105 private:
106 // Only Art can construct a new CustomArt object
107 friend class Art;
108
112 void* __data;
113
119 CustomArt();
120
128 CustomArt(void* const art_);
129
135 CustomArt(const CustomArt&);
136
142 CustomArt& operator=(const CustomArt&);
143 };
144 }
145}
146
147#endif
148// HDI_CORE_AIP_MODE
149
150#endif
151// __HDI_CORE_CUSTOM_ART__
Handles general art-related functionality.
Definition: hdicoreArt.h:51
Allows for custom art "group", user-editable art, and user-viewable "result" art manipulation.
Definition: hdicoreCustomArt.h:24
void setCanBeClipMask(const bool canBe_)
Sets whether your CustomArt is allowed to be a clipping mask.
std::unique_ptr< Art > viewableArt() const
Gets the art underlying the CustomArt that the user can see in Illustrator.
void markClean()
Marks the CustomArt as clean, so that Illustrator will not fire the CustomArtUpdateViewableArtMessage...
bool canBeClipMask() const
Gets whether your CustomArt is allowed to be a clipping mask.
std::unique_ptr< Art > editableArt() const
Gets the art underlying the CustomArt that the user can edit in Illustrator.
void silenceNextUpdate()
Even if the user-editable art will be changed (or has been changed), this will prevent the CustomArtU...
~CustomArt()
Destructs a CustomArt object.
void markDirty()
Marks the CustomArt as dirty, so that Illustrator will fire the CustomArtUpdateViewableArtMessageType...
Header file for a wide variety of necessary typedefs, enums, and forwards declarations.