CODComponentTracker Class
class CODComponentTracker: public CObject
Used to track an object on the screen.Defined in: OdCompTracker.h
Class Members
CODComponentTracker(CODComponent* pComp = NULL)
Constructor.
virtual ~CODComponentTracker()
Destructor.
void SetComponent(CODComponent* pComp)
Sets the component to track.
CODComponent* GetComponent()
Gets the tracked component.
virtual void Translate(int nOffsetX, int nOffsetY)
Moves the component by an offset.
virtual void Rotate(int nAngle, OD_CONTROL_POINT nControlPoint = OD_CENTER, CSize sizeAspectRatio = odg_sizeDefaultAspectRatio)
Rotates the component about a point.
virtual void Scale(float fScaleX, float fScaleY, OD_CONTROL_POINT nControlPoint)
Scales the component in reference to a point.
virtual OD_MOVEVERTEX_RC MoveVertex(int nVertexIndex, int nOffsetX, int nOffsetY)
Moves one of the component's vertices.
void Track(CDC* pDC)
Draws tracking to a DC.
virtual void Serialize(CArchive& ar)
Serialize the component.
CODComponent* m_pComp
Pointer to component to track.
CODComponentPosition* m_pCompPos
Pointer to component position object.