SECLayoutNodeDCBase::OnDrawNode

voidSECLayoutNodeDCBase::OnDrawNode(HDChDC, const CRect&rcNodeDraw)

Override to provide the appropriate rendered image in the provided rectangle

Defined in: NodeDC.cpp

Return Value

void

Parameters

hDC

Handle to the device context for rendering.

rcNodeDraw

Bounding rectangle for the draw, in node coordinates (appropriate to the DC passed in)

Comments

Override this function to perform the appropriate drawing for this DC based node. After parent repositions this node via a RecalcLayout and issues a RealizeNode to apply to the screen, this overridable will be called with the appropriate DC and drawing rect. In your derived class, simply handle this function and render your image to the provided rectangle.