Hot Door CORE 0.8.2
Adobe® Illustrator® Plug-in Library
Loading...
Searching...
No Matches
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#if defined(HDI_CORE_AIP_MODE)
11
13#include "hdicorePrefData.h"
14
15namespace hdi
16{
17 namespace core
18 {
23 {
24 public:
37
47
60 ArtboardPointPref(const ArtboardPoint& value_, const std::string& name_ = "");
61
68
78
92 virtual ArtboardPointPref* clone() const;
93
102
111 virtual bool setArtboardPoint(const ArtboardPoint& pt_);
112 };
113
114 typedef std::unique_ptr<ArtboardPointPref> ArtboardPointPrefUP;
115 typedef std::shared_ptr<ArtboardPointPref> ArtboardPointPrefSP;
116 typedef std::weak_ptr<ArtboardPointPref> ArtboardPointPrefWP;
117 }
118}
119
120#endif
121// HDI_CORE_AIP_MODE
122
123#endif
124// __HDI_CORE_ARTBOARD_POINT_PREF__
Describes a point on the Illustrator artboard.
Definition: hdicoreArtboardPoint.h:31
Allows for storage of 2D artboard points.
Definition: hdicoreArtboardPointPref.h:23
virtual bool setArtboardPoint(const ArtboardPoint &pt_)
Sets the point for this object.
ArtboardPointPref(const ArtboardPoint &value_, const std::string &name_="")
Constructs an ArtboardPointPref object, with new data, to be added to a container at a later time.
virtual ArtboardPoint artboardPoint() const
Gets the point for this object.
virtual ArtboardPointPref & operator=(const ArtboardPointPref &rhs_)
Allows one ArtboardPointPref object to be assigned from another.
ArtboardPointPref()
Constructs an empty ArtboardPointPref object.
ArtboardPointPref(const ArtboardPointPref &abp_)
Constructs a new ArtboardPointPref object from an existing ArtboardPointPref object (copy constructor...
virtual ~ArtboardPointPref()
Destructs an ArtboardPointPref object.
virtual ArtboardPointPref * clone() const
Convenience method to clone an ArtboardPointPref object on the heap.
Base class for persistent data objects, stored via JSON.
Definition: hdicorePrefData.h:25
Header file for geometric point manipulation on the Illustrator artboard.
Header file for general preference data storage.