Hot Door CORE  0.7.0
Adobe® Illustrator® Plug-in Library
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 #include "hdicorePrefData.h"
11 #include "hdicoreTransformMatrix.h"
12 
13 namespace hdi
14 {
15  namespace core
16  {
21  {
22  public:
35 
45 
58  TransformMatrixPref(const TransformMatrix& value_, const std::string& name_ = "");
59 
65  virtual ~TransformMatrixPref();
66 
76 
90  virtual TransformMatrixPref* clone() const;
91 
99  virtual TransformMatrix transformMatrix() const;
100 
109  virtual bool setTransformMatrix(const TransformMatrix& m_);
110  };
111 
112  typedef std::auto_ptr<TransformMatrixPref> TransformMatrixPrefAP;
113  }
114 }
115 
116 #endif
117 // __HDI_CORE_TRANSFORM_MATRIX_PREF__
virtual ~TransformMatrixPref()
Destructs a TransformMatrixPref object.
Header file for describing a 2D transformation matrix.
virtual TransformMatrixPref * clone() const
Convenience method to clone an TransformMatrixPref object on the heap.
virtual TransformMatrix transformMatrix() const
Gets the matrix for this object.
Allows for 2-dimensional transformations in a single application via matrix math. ...
Definition: hdicoreTransformMatrix.h:26
virtual TransformMatrixPref & operator=(const TransformMatrixPref &rhs_)
Allows one TransformMatrixPref object to be assigned from another.
Allows for storage of transformation matrices.
Definition: hdicoreTransformMatrixPref.h:20
Base class for persistent data objects, stored via JSON.
Definition: hdicorePrefData.h:24
Definition: hdicoreaiArray.h:12
virtual bool setTransformMatrix(const TransformMatrix &m_)
Sets the matrix for this object.
TransformMatrixPref()
Constructs an empty TransformMatrixPref object.
Header file for general preference data storage.