7#ifndef __HDI_CORE_ARTBOARD__
8#define __HDI_CORE_ARTBOARD__
10#if defined(HDI_CORE_AIP_MODE)
38 typedef std::vector< std::shared_ptr<Art> > ArtVector;
179 virtual std::string
name()
const;
188 virtual void setName(
const std::string& name_);
190 #if HDI_CORE_COMPILE_AI30_PLUS
294 friend aip::Artboard* __accessImpl(
const Artboard&);
295 friend Artboard __accessCtor(aip::Artboard*&);
307 void* __impl()
const;
317 typedef std::unique_ptr<Artboard> ArtboardUP;
318 typedef std::shared_ptr<Artboard> ArtboardSP;
319 typedef std::weak_ptr<Artboard> ArtboardWP;
321 extern aip::Artboard* __accessImpl(
const Artboard&);
322 extern Artboard __accessCtor(aip::Artboard*&);
Describes the color of art on the artboard.
Definition hdicoreArtColor.h:42
Handles general art-related functionality.
Definition hdicoreArt.h:51
Represents an individual artboard in the current document.
Definition hdicoreArtboard.h:36
virtual bool dispose()
Removes the artboard from the document.
virtual ArtboardRect bounds() const
Gets the position (bounds) of the artboard.
virtual void setColor(const ArtColor &color_)
Sets the color for the artboard.
virtual void setBounds(const ArtboardRect &bounds_)
Sets the position (bounds) of the artboard.
virtual void setRulerOrigin(const ArtboardPoint &origin_)
Sets the ruler origin point of the artboard, relative to the artboard itself.
Artboard(const Artboard &a_)
Constructs a new Artboard object from an existing Artboard object (copy constructor)
virtual void setHidden(const bool hidden_)
Sets whether the artboard is hidden.
virtual void setLocked(const bool lock_)
Sets whether the artboard is locked.
virtual ArtVector allArtObjects() const
Gets all the art objects that "touch" the target artboard.
virtual bool valid() const
Tests the validity of the target artboard.
virtual bool operator!=(const Artboard &rhs_) const
Tests whether a given Artboard object is not the same as another.
virtual bool active() const
Gets whether the target artboard is the current one in the current document.
virtual ArtColor color() const
Gets the color for the artboard.
virtual std::string name() const
Gets the artboard's name.
virtual void setEditable(const bool editable_)
Sets whether the artboard is editable.
virtual ArtboardPoint rulerOrigin() const
Gets the ruler origin point of the artboard, relative to the artboard itself.
Artboard()
Constructs an empty Artboard object.
virtual bool locked() const
Gets whether the artboard is locked.
virtual bool editable() const
Gets whether the artboard is editable.
virtual void setName(const std::string &name_)
Sets the artboard's name.
virtual bool hidden() const
Gets whether the artboard is hidden.
virtual bool isEmpty() const
Gets whether the target Artboard object is empty (constructed with the default ctor)
virtual ~Artboard()
Destructs an Artboard object.
virtual Artboard & operator=(const Artboard &rhs_)
Assigns one Artboard object to another.
virtual bool operator==(const Artboard &rhs_) const
Tests whether a given Artboard object is the same as another.
Describes a point on the Illustrator artboard.
Definition hdicoreArtboardPoint.h:31
Describes a rectangular area on the Illustrator artboard.
Definition hdicoreArtboardRect.h:28
Allows for layer metadata access, visibility manipulation, locking, etc.
Definition hdicoreLayer.h:39
Header file for art color manipulation.
Header file for geometric point manipulation on the Illustrator artboard.
Header file for geometric rectangle manipulation on the Illustrator artboard.
Header file for a variety of plugin convenience macros.