Hot Door CORE  0.7.1
Adobe® Illustrator® Plug-in Library
hdicoreArtboardRectPref.h
Go to the documentation of this file.
1 
7 #ifndef __HDI_CORE_ARTBOARD_RECT_PREF__
8 #define __HDI_CORE_ARTBOARD_RECT_PREF__
9 
10 #include "hdicoreArtboardRect.h"
11 #include "hdicorePrefData.h"
12 
13 namespace hdi
14 {
15  namespace core
16  {
20  class ArtboardRectPref : public PrefData
21  {
22  public:
35 
45 
58  ArtboardRectPref(const ArtboardRect& value_, const std::string& name_ = "");
59 
65  virtual ~ArtboardRectPref();
66 
75  virtual ArtboardRectPref& operator=(const ArtboardRectPref& rhs_);
76 
90  virtual ArtboardRectPref* clone() const;
91 
99  virtual ArtboardRect artboardRect() const;
100 
109  virtual bool setArtboardRect(const ArtboardRect& rect_);
110  };
111 
112  typedef std::auto_ptr<ArtboardRectPref> ArtboardRectPrefAP;
113  }
114 }
115 
116 #endif
117 // __HDI_CORE_ARTBOARD_RECT_PREF__
virtual ArtboardRectPref * clone() const
Convenience method to clone an ArtboardRectPref object on the heap.
Allows for storage of artboard rects/bounds.
Definition: hdicoreArtboardRectPref.h:20
Describes a rectangular area on the Illustrator artboard.
Definition: hdicoreArtboardRect.h:25
ArtboardRectPref()
Constructs an empty ArtboardRectPref object.
virtual bool setArtboardRect(const ArtboardRect &rect_)
Sets the rect for this object.
Header file for geometric rectangle manipulation on the Illustrator artboard.
Base class for persistent data objects, stored via JSON.
Definition: hdicorePrefData.h:24
Definition: hdicoreaiArray.h:12
virtual ArtboardRectPref & operator=(const ArtboardRectPref &rhs_)
Allows one ArtboardRectPref object to be assigned from another.
Header file for general preference data storage.
virtual ArtboardRect artboardRect() const
Gets the rect for this object.
virtual ~ArtboardRectPref()
Destructs an ArtboardRectPref object.