CGM Objects Library
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Types | Public Member Functions | Public Attributes | List of all members
Larson::PicElement Class Reference

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
 

Detailed Description

PicElement – Picture element list container, each list element will be pointer to a Graphical Element or an Application Structure but not both.


The documentation for this class was generated from the following files: