CODRulerWrapper_T::PrepareRulerIntersectionDC
voidCODRulerWrapper_T::PrepareRulerIntersectionDC(CDC*pDC)
Prepare a device context to draw the ruler intersection component.
Defined in: OdRulerWrapper.h
Return Value
void
Parameters
pDC
Pointer to device context to draw onto. vertical ruler.
Comments
As with the ruler components, preparing a DC for drawing the ruler intersection component requires some special consideration. The margin values are subtracted from the viewport origin so that the ruler intersection component may be drawn at logical point (0,0). Subtracting the margin values from the viewport origin allows drawing to take place in the margin. This function does not adjust the window extents for zooming, because the size of the ruler intersection is constant regardless of the zoom factor.See Also