![]() |
Hot Door CORE 0.8.4
Adobe® Illustrator® Plug-in Library
|
Handles general symbol-related functionality. More...
#include <hdicoreSymbol.h>


Public Member Functions | |
| Symbol () | |
| Constructs an empty Symbol object. | |
| Symbol (const Symbol &sym_) | |
| Constructs a new Symbol object from an existing Symbol object (copy constructor) | |
| virtual | ~Symbol () |
| Symbol object destructor. | |
| virtual Symbol & | operator= (const Symbol &rhs_) |
| Assigns one Symbol object to another. | |
| virtual bool | dispose () |
| Removes the symbol from its document. | |
| virtual bool | valid () const |
| Tests the validity of the target symbol by searching for it in the document. | |
| virtual bool | operator== (const Symbol &rhs_) const |
| Tests whether a given Symbol object is the same as another. | |
| virtual bool | operator!= (const Symbol &rhs_) const |
| Tests whether a given Symbol object is not the same as another. | |
| virtual std::unique_ptr< Art > | sourceArt () const |
| Gets the Art object that defines the source art for the symbol. | |
| virtual void | setSourceArt (const Art &art_) |
| Sets the Art object that defines the source art for the symbol. | |
| virtual bool | isBeingEdited () const |
| Gets whether the target symbol is currently being edited in symbol editing mode. | |
| virtual bool | setBeingEdited (const Art *const inst_=NULL) |
| Puts the document into symbol editing mode, with the target symbol being the one to edit. | |
| virtual std::unique_ptr< Art > | newInstance (const ArtboardPoint ¢er_, const PaintOrder order_, const Art *const prep_=NULL) const |
| Creates a new instance of the symbol in the current document. | |
Public Member Functions inherited from hdi::core::Pattern | |
| Pattern () | |
| Constructs an empty Pattern object. | |
| Pattern (const Pattern &patt_) | |
| Constructs a new Pattern object from an existing Pattern object (copy constructor) | |
| virtual | ~Pattern () |
| Pattern object destructor. | |
| virtual Pattern & | operator= (const Pattern &rhs_) |
| Assigns one Pattern object to another. | |
| virtual AIPatternHandle | aiPatternHandle () const |
| Gets the pattern handle around which the target object is wrapped. | |
| virtual bool | isEmpty () const |
| Gets whether the target Pattern object is empty (constructed with the default ctor) | |
| virtual Type | patternType () const |
| Gets the type of pattern the target object is representing. | |
| virtual bool | operator== (const Pattern &rhs_) const |
| Tests whether a given Pattern object is the same as another. | |
| virtual bool | operator!= (const Pattern &rhs_) const |
| Tests whether a given Pattern object is not the same as another. | |
| virtual std::string | name () const |
| Gets the name of the pattern. | |
| virtual void | setName (const std::string &name_) |
| Sets the name of the pattern. | |
| virtual ArtboardRect | bounds () const |
| Gets the bounds rect for the target pattern. | |
Static Public Member Functions | |
| static Symbol | create (const Art &src_) |
| Creates a new Symbol object (and Illustrator symbol) | |
Static Public Member Functions inherited from hdi::core::Pattern | |
| static Pattern | create () |
| Creates a new Pattern object (and Illustrator pattern); set the source art for it with the setSourceArt() method. | |
Friends | |
| aip::Symbol * | __accessImpl (const Symbol &) |
| Symbol | __accessCtor (aip::Symbol *&) |
Additional Inherited Members | |
Public Types inherited from hdi::core::Pattern | |
| enum | Type { UnknownPatternType = 0 , NormalPatternType = 10 , SymbolPatternType = 20 , BrushPatternType = 30 } |
| Indicates the type of "pattern" an object is representing. | |
Protected Member Functions inherited from hdi::core::Pattern | |
| void * | _impl () const |
| Internal use only. | |
Protected Attributes inherited from hdi::core::Pattern | |
| void * | _data |
| Private implementation data. | |
Handles general symbol-related functionality.
| hdi::core::Symbol::Symbol | ( | ) |
Constructs an empty Symbol object.
| hdi::core::Symbol::Symbol | ( | const Symbol & | sym_ | ) |
|
virtual |
Symbol object destructor.
Creates a new Symbol object (and Illustrator symbol)
| src_ | Source art for the symbol definition |
|
virtual |
Removes the symbol from its document.
Reimplemented from hdi::core::Pattern.
|
virtual |
Gets whether the target symbol is currently being edited in symbol editing mode.
Reimplemented from hdi::core::Pattern.
|
virtual |
Creates a new instance of the symbol in the current document.
| center_ | Center point at which to place the instance |
| order_ | Order in which to create the art |
| prep_ | Prepositional piece of art to which order_ will apply |
|
virtual |
|
virtual |
|
virtual |
Puts the document into symbol editing mode, with the target symbol being the one to edit.
| inst_ | An optional instance of the pattern or symbol |
Reimplemented from hdi::core::Pattern.
|
virtual |
Sets the Art object that defines the source art for the symbol.
| art_ | New source art for the target Symbol object |
Reimplemented from hdi::core::Pattern.
|
virtual |
Gets the Art object that defines the source art for the symbol.
Reimplemented from hdi::core::Pattern.
|
virtual |
Tests the validity of the target symbol by searching for it in the document.
Reimplemented from hdi::core::Pattern.