|
CGM Objects Library
|
PicElement – Picture element list container, each list element will be pointer to a Graphical Element or an Application Structure but not both. More...
#include <ElementList.h>
Public Types | |
| enum | PicElementType { Null = 0, Graphical = 1, AppStruct = 2, Segment = 3 } |
Public Member Functions | |
| PicElement () | |
| Constructor for empty element. | |
| PicElement (CCgmBaseObj *pObj) | |
| Constructor. | |
| PicElement (CAppStruct *pAppStruct) | |
| PicElement (CSegment *pSegment) | |
| virtual | ~PicElement () |
| Deconstructor. | |
| void | operator= (const PicElement &a) |
| bool | operator== (const PicElement &a) const |
| PicElement | Clone () |
| void | Draw (CDrawBase *pDB) |
| DRect | GetBounds (bool locus=false) const |
| bool | HitTest (DPoint point, double margin) const |
| void | TransformBy (CMatrix *pXF) |
Public Attributes | |
| enum PicElementType | type |
| union { | |
| CCgmBaseObj * pObj | |
| pointer to graphical element | |
| CAppStruct * pAppStruct | |
| pointer to APS | |
| CSegment * pSegment | |
| pointer to local segment | |
| } | data |
| unsigned char | flags |
PicElement – Picture element list container, each list element will be pointer to a Graphical Element or an Application Structure but not both.
1.8.6