8 #ifndef MsiChart_PolyLineObject_h 9 #define MsiChart_PolyLineObject_h 11 #include "PDCHeader/PDCvector" 30 bool iHasLineFormat =
true,
bool iIsClosePath =
false);
39 void Extend(std::vector<Point2D>& irPoints,
Int32 iPosition);
65 virtual void Draw()
const;
77 void GetPolygons(std::vector<Polygon2D>& orPolygons)
const;
virtual bool PointInObject(const Point2D &irPoint)
virtual bool ObjectInRectangle(const Rect2D &irRect)
PolyLineObject(const TripleId &irTripleId, GraphObjectManager *ipManager, const std::vector< Point2D > &irPoints, GraphCollectionObject *ipParentObject=NULL, bool iHasLineFormat=true, bool iIsClosePath=false)
Definition: GraphCollectionObject.h:19
std::vector< Point2D > mLinePoints
Store all the points of the poly line in device coordinates.
Definition: PolyLineObject.h:87
virtual std::vector< Point2D > GetLinePoints() const
Definition: PolyLineObject.h:91
virtual void GenerateImageMap(ImageMap &iorImageMap)
void Extend(std::vector< Point2D > &irPoints, Int32 iPosition)
std::vector< Point2D > Polygon2D
Definition: GraphObject.h:25
Delegates Poly lines.
Definition: PolyLineObject.h:17
#define Int32
Definition: BasicTypes.h:20
void hGetOnePolygon(const std::vector< Point2D > &irLinePoints, Polygon2D &orPolygon) const
MSynch::SmartPtr< PolyLineObject > Ptr
Definition: PolyLineObject.h:20
virtual ~PolyLineObject()
virtual void Draw() const
Clear all the points in the polyline.
Definition: GraphObject.h:38
void GetPolygons(std::vector< Polygon2D > &orPolygons) const
bool mIsClosePath
Indicates whether current polyline is a close path or not.
Definition: PolyLineObject.h:89
virtual void GetClockwisePolygon(std::vector< Point2D > &orPolygon) const
std::vector< AreaRec * > ImageMap
Definition: ImageMap.h:99
virtual Int32 DistanceToPoint(const Point2D &irPoint)
virtual void DrawOutLine()
#define NULL
Definition: Null.h:10
Definition: GraphObjectManager.h:37
Use four Int32 values to represent a 2D rectangle.
Definition: Rect2D.h:25