Hot Door CORE 0.8.2
Adobe® Illustrator® Plug-in Library
Loading...
Searching...
No Matches
hdicoreTransformMatrixPref.h
Go to the documentation of this file.
1
7#ifndef __HDI_CORE_TRANSFORM_MATRIX_PREF__
8#define __HDI_CORE_TRANSFORM_MATRIX_PREF__
9
10#if defined(HDI_CORE_AIP_MODE)
11
12#include "hdicorePrefData.h"
14
15namespace hdi
16{
17 namespace core
18 {
23 {
24 public:
37
47
60 TransformMatrixPref(const TransformMatrix& value_, const std::string& name_ = "");
61
68
78
92 virtual TransformMatrixPref* clone() const;
93
102
111 virtual bool setTransformMatrix(const TransformMatrix& m_);
112 };
113
114 typedef std::unique_ptr<TransformMatrixPref> TransformMatrixPrefUP;
115 typedef std::shared_ptr<TransformMatrixPref> TransformMatrixPrefSP;
116 typedef std::weak_ptr<TransformMatrixPref> TransformMatrixPrefWP;
117 }
118}
119
120#endif
121// HDI_CORE_AIP_MODE
122
123#endif
124// __HDI_CORE_TRANSFORM_MATRIX_PREF__
Base class for persistent data objects, stored via JSON.
Definition: hdicorePrefData.h:25
Allows for 2-dimensional transformations in a single application via matrix math.
Definition: hdicoreTransformMatrix.h:34
Allows for storage of transformation matrices.
Definition: hdicoreTransformMatrixPref.h:23
virtual TransformMatrix transformMatrix() const
Gets the matrix for this object.
virtual ~TransformMatrixPref()
Destructs a TransformMatrixPref object.
TransformMatrixPref(const TransformMatrixPref &tm_)
Constructs a new TransformMatrixPref object from an existing TransformMatrixPref object (copy constru...
virtual TransformMatrixPref * clone() const
Convenience method to clone an TransformMatrixPref object on the heap.
virtual TransformMatrixPref & operator=(const TransformMatrixPref &rhs_)
Allows one TransformMatrixPref object to be assigned from another.
virtual bool setTransformMatrix(const TransformMatrix &m_)
Sets the matrix for this object.
TransformMatrixPref()
Constructs an empty TransformMatrixPref object.
TransformMatrixPref(const TransformMatrix &value_, const std::string &name_="")
Constructs a TransformMatrixPref object, with new data, to be added to a container at a later time.
Header file for general preference data storage.
Header file for describing a 2D transformation matrix.