Hot Door CORE  0.7.0
Adobe® Illustrator® Plug-in Library
hdicoreArtboardSegPoint.h
Go to the documentation of this file.
1 
7 #ifndef __HDI_CORE_ARTBOARD_SEG_POINT__
8 #define __HDI_CORE_ARTBOARD_SEG_POINT__
9 
10 #include "hdicoreArtboardPoint.h"
11 
12 namespace hdi
13 {
14  namespace plugin
15  {
16  class PathSegPoint;
17  }
18 
19  namespace core
20  {
25  {
26  public:
31 
36 
41 
45  bool corner;
46 
54 
62  ArtboardSegPoint(const ArtboardSegPoint& segPt_);
63 
72  ArtboardSegPoint(const ArtboardPoint& pt_, const bool corner_);
73 
85  const ArtboardPoint& p_,
86  const ArtboardPoint& in_,
87  const ArtboardPoint& out_,
88  const bool corner_
89  );
90 
96  virtual ~ArtboardSegPoint();
97 
106  virtual ArtboardSegPoint& operator=(const ArtboardSegPoint& rhs_);
107 
116  virtual bool operator==(const ArtboardSegPoint& rhs_) const;
117 
126  virtual bool operator!=(const ArtboardSegPoint& rhs_) const;
127 
136  virtual bool curved(const ArtboardSegPoint& segPt2_) const;
137 
138 
139  private:
140  friend plugin::PathSegPoint* __accessImpl(const ArtboardSegPoint&);
141  friend ArtboardSegPoint __accessCtor(const plugin::PathSegPoint&);
142 
146  plugin::PathSegPoint* __impl;
147 
153  ArtboardSegPoint(const plugin::PathSegPoint&);
154  };
155 
156  typedef std::auto_ptr<ArtboardSegPoint> ArtboardSegPointAP;
157 
158  extern plugin::PathSegPoint* __accessImpl(const ArtboardSegPoint&);
159  extern ArtboardSegPoint __accessCtor(const plugin::PathSegPoint&);
160  }
161 }
162 
163 #endif
164 // __HDI_CORE_ARTBOARD_SEG_POINT__
ArtboardPoint out
Segment "out" control point.
Definition: hdicoreArtboardSegPoint.h:40
virtual ~ArtboardSegPoint()
ArtboardSegPoint destructor.
ArtboardPoint p
Anchor point.
Definition: hdicoreArtboardSegPoint.h:30
virtual bool operator!=(const ArtboardSegPoint &rhs_) const
Tests whether a given ArtboardSegPoint object is not the same as another.
virtual bool operator==(const ArtboardSegPoint &rhs_) const
Tests whether a given ArtboardSegPoint object is the same as another.
Header file for geometric point manipulation on the Illustrator artboard.
virtual ArtboardSegPoint & operator=(const ArtboardSegPoint &rhs_)
Sets an ArtboardSegPoint object from another ArtboardSegPoint object.
Definition: hdicoreaiArray.h:12
ArtboardPoint in
Segment "in" control point.
Definition: hdicoreArtboardSegPoint.h:35
virtual bool curved(const ArtboardSegPoint &segPt2_) const
Gets whether the path formed by two segment points is curved.
bool corner
Definition: hdicoreArtboardSegPoint.h:45
Describes a segment point of a bezier path on the Illustrator artboard.
Definition: hdicoreArtboardSegPoint.h:24
ArtboardSegPoint()
Constructs an ArtboardSegPoint object with the p, in, and out points at (0,0) and corner set to false...
Describes a point on the Illustrator artboard.
Definition: hdicoreArtboardPoint.h:28