CODRulerWrapper_T::RulerTrackPoint

voidCODRulerWrapper_T::RulerTrackPoint(CDC*pDC, const CPoint&pt)

Draw projection of a given point in the viewport onto the rulers.

Defined in: OdRulerWrapper.h

Return Value

void

Parameters

pDC

Pointer to device context to draw onto.

pt

Point in the viewport specified in device units.

Comments

The X coordinate of the given point is drawn as a line on the horizontal ruler. The Y coordinate of the given point is drawn as a line on the vertical ruler. The lines are XOR'd onto the DC so that calling this function a second time erases the line.

See Also

SetRulerTrackingColor