Mobile API Reference  MicroStrategy 2019
CircleLineObject.h
Go to the documentation of this file.
1 //==============================================================================================
2 // FILENAME : CircleLineObject.h
3 // AUTHOR : Liang Liu
4 // CREATION : 2009-3-16
5 // Copyright (C) MicroStrategy Incorporated 2009
6 // All Rights Reserved
7 //==============================================================================================
8 #ifndef MsiChart_CircleLineObject_h
9 #define MsiChart_CircleLineObject_h
10 
11 #include "GraphObject.h"
12 
13 namespace MsiChart
14 {
17  {
18  public:
20 
26  CircleLineObject(const TripleId& irTripleId, GraphObjectManager* ipManager, const Point2D& irCenter,
27  float iRadius, GraphCollectionObject* ipParentObject = NULL);
28  virtual ~CircleLineObject();
29 
30  // virtual functions from GraphObject
31  virtual void Draw() const;
32  virtual bool PointInObject(const Point2D& irPoint);
33  virtual bool ObjectInRectangle(const Rect2D& irRect);
34  virtual void GenerateImageMap(ImageMap& iorImageMap);
35  virtual void DrawOutLine();
36 
37  protected:
38  //pure virtual functions from GraphObject
39  virtual void GetClockwisePolygon(std::vector<Point2D>& orPolygon) const;
40 
42  float mRadius;
43  };
44 
45 }
46 #endif
virtual bool ObjectInRectangle(const Rect2D &irRect)
Definition: GraphCollectionObject.h:19
Point2D mCenter
Definition: CircleLineObject.h:41
CircleLineObject(const TripleId &irTripleId, GraphObjectManager *ipManager, const Point2D &irCenter, float iRadius, GraphCollectionObject *ipParentObject=NULL)
float mRadius
Definition: CircleLineObject.h:42
virtual void Draw() const
Delegates circle lines.
Definition: CircleLineObject.h:16
Definition: GraphObject.h:38
Definition: SmartPtr.h:38
virtual void DrawOutLine()
Definition: ABLPlot.h:21
MSynch::SmartPtr< CircleLineObject > Ptr
Definition: CircleLineObject.h:19
std::vector< AreaRec * > ImageMap
Definition: ImageMap.h:99
virtual bool PointInObject(const Point2D &irPoint)
virtual void GenerateImageMap(ImageMap &iorImageMap)
#define NULL
Definition: Null.h:10
Definition: GraphObjectManager.h:37
Use four Int32 values to represent a 2D rectangle.
Definition: Rect2D.h:25
virtual void GetClockwisePolygon(std::vector< Point2D > &orPolygon) const
Definition: Common.h:397