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