7#ifndef __HDI_CORE_ARTBOARD__
8#define __HDI_CORE_ARTBOARD__
10#if defined(HDI_CORE_AIP_MODE)
37 typedef std::vector< std::shared_ptr<Art> > ArtVector;
178 virtual std::string
name()
const;
187 virtual void setName(
const std::string& name_);
210 friend aip::Artboard* __accessImpl(
const Artboard&);
211 friend Artboard __accessCtor(aip::Artboard*&);
223 void* __impl()
const;
233 typedef std::unique_ptr<Artboard> ArtboardUP;
234 typedef std::shared_ptr<Artboard> ArtboardSP;
235 typedef std::weak_ptr<Artboard> ArtboardWP;
237 extern aip::Artboard* __accessImpl(
const Artboard&);
238 extern Artboard __accessCtor(aip::Artboard*&);
Represents an individual artboard in the current document.
Definition: hdicoreArtboard.h:35
virtual bool dispose()
Removes the artboard from the document.
virtual ArtboardRect bounds() const
Gets the position (bounds) of 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 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 std::string name() const
Gets the artboard's name.
virtual ArtboardPoint rulerOrigin() const
Gets the ruler origin point of the artboard, relative to the artboard itself.
Artboard()
Constructs an empty Artboard object.
virtual void setName(const std::string &name_)
Sets the artboard's name.
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
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.