19 DRect
GetBoundsList(vector<PicElement> &elList,
bool locus =
false);
23 bool HitTest(DPoint point,
double margin);
CSegment(long name, CCgmObjects *pOwner)
Constructor.
Definition: Segment.cpp:8
vector< long > m_inheritance
segment inheritance filter
Definition: Segment.h:35
void Draw(CDrawBase *pDB)
Draw segment contents.
Definition: Segment.cpp:74
DRect GetBounds(bool locus=false)
Get segment bounds.
Definition: Segment.cpp:32
CSegment – Segment class- a segment is a list of picture elements.
Definition: Segment.h:7
long m_name
segment name
Definition: Segment.h:33
CMatrix m_xForm
segment transformation
Definition: Segment.h:39
long m_clipInheritance
segment clip inheritance
Definition: Segment.h:37
long m_pickPriority
segment pick priority
Definition: Segment.h:45
CElementList – Picture elements list.
Definition: ElementList.h:69
CDrawBase – drawing base class from which all output specific draw classes are derived.
Definition: DrawBase.h:19
CCgmObjects * m_pOwner
pointer to owner of this Segment
Definition: Segment.h:30
void TransformBy(CMatrix *pXF)
Transform segment contents by specfied matrix.
Definition: Segment.cpp:103
CSegment * Clone()
clone a segment
Definition: Segment.cpp:22
long m_displayPriority
segment display priority
Definition: Segment.h:43
DRect GetBoundsList(vector< PicElement > &elList, bool locus=false)
Get bounds in elements list specify by elList.
Definition: Segment.cpp:41
CMatrix – transform matrix class.
Definition: Matrix.h:16
long m_highlighting
segment highlighting
Definition: Segment.h:41
bool HitTest(DPoint point, double margin)
true if point touches this segment within margin
Definition: Segment.cpp:85
CCgmObjects – CGM Picture container.
Definition: CgmObjects.h:472