Hot Door CORE 0.8.2
Adobe® Illustrator® Plug-in Library
|
Allows for custom art "group", user-editable art, and user-viewable "result" art manipulation. More...
#include <hdicoreCustomArt.h>
Public Member Functions | |
~CustomArt () | |
Destructs a CustomArt object. | |
std::unique_ptr< Art > | editableArt () const |
Gets the art underlying the CustomArt that the user can edit in Illustrator. | |
std::unique_ptr< Art > | viewableArt () const |
Gets the art underlying the CustomArt that the user can see in Illustrator. | |
void | markDirty () |
Marks the CustomArt as dirty, so that Illustrator will fire the CustomArtUpdateViewableArtMessageType shortly. | |
void | markClean () |
Marks the CustomArt as clean, so that Illustrator will not fire the CustomArtUpdateViewableArtMessageType even if the user-editable art has been changed. | |
void | silenceNextUpdate () |
Even if the user-editable art will be changed (or has been changed), this will prevent the CustomArtUpdateViewableArtMessageType message from firing until the next time Illustrator messages your plugin (and you again change the user-editable art) | |
bool | canBeClipMask () const |
Gets whether your CustomArt is allowed to be a clipping mask. | |
void | setCanBeClipMask (const bool canBe_) |
Sets whether your CustomArt is allowed to be a clipping mask. | |
Friends | |
class | Art |
Allows for custom art "group", user-editable art, and user-viewable "result" art manipulation.
hdi::core::CustomArt::~CustomArt | ( | ) |
Destructs a CustomArt object.
bool hdi::core::CustomArt::canBeClipMask | ( | ) | const |
std::unique_ptr< Art > hdi::core::CustomArt::editableArt | ( | ) | const |
Gets the art underlying the CustomArt that the user can edit in Illustrator.
void hdi::core::CustomArt::markClean | ( | ) |
Marks the CustomArt as clean, so that Illustrator will not fire the CustomArtUpdateViewableArtMessageType even if the user-editable art has been changed.
void hdi::core::CustomArt::markDirty | ( | ) |
Marks the CustomArt as dirty, so that Illustrator will fire the CustomArtUpdateViewableArtMessageType shortly.
void hdi::core::CustomArt::setCanBeClipMask | ( | const bool | canBe_ | ) |
void hdi::core::CustomArt::silenceNextUpdate | ( | ) |
Even if the user-editable art will be changed (or has been changed), this will prevent the CustomArtUpdateViewableArtMessageType message from firing until the next time Illustrator messages your plugin (and you again change the user-editable art)
std::unique_ptr< Art > hdi::core::CustomArt::viewableArt | ( | ) | const |
Gets the art underlying the CustomArt that the user can see in Illustrator.