Description

Interface implemented by user defined graphic object classes.

Remarks

McGraphObjServer

Users wanting to extend the overlay manager functionnality by adding new graphic object classes should implement this interface in their objects. Additionnaly, in order for these custom classes to support persistence, they should also implement the standard IPersistStream.

Members

Methods
Draw

Draw this graphic object.

DrawHandle

Draw a graphic handle.

GetBoundRect

Return the coordinates of the bounding rectangle for this object.

GetHandleCursor

Return the cursor to use when the mouse is over one of the graphic handles.

GetHandlePoint

Return the coordinates of a graphic handle.

GetLabelAnchor

Return a point where to attach a label if any.

GetPoint

Return the coordinates of a defining point.

Invalidate

Refresh the drawing of this object.

MoveHandleTo

Move one of the handles to a new position.

OnEditProperties

Display the property sheet for this object.

OnImportProperties

Import some properties from another object.

OnIntersects

Called to determine if this object intersects a given rectangle.


Properties
ColorStyleRead-only property

Return the prefered color style for this object as described in mcGraphObjColorStyle.

DefaultDragHandleRead-only property

Return the default object handle.

EmptyRead-only property

Return true if the object is in its empty state.

HandleCountRead-only property

[TODO: Fill in short summary description]

LengthRead-only property

Return the total length of this object.

PointCountRead-only property

Return the number of defining points used by this object.