CImageChart::OnDraw
virtual void OnDraw( CDC *pDC, CRect destRect );
virtual void OnDraw( CDC *pDC, CRect destRect , CRect updateRect );
Parameters
- pDC - Pointer to a device contect
- destRect - The destination rectangle for the chart
- updateRect - The clipping region of the client rectangle. If this value is not passed, the entire client rectangle is assumed to be the updateRect
Description
The coordinates of clientRect, chartRect and updateRect should be LOMETRIC.
This function draws the current image. The updateRect is used only to calculate whether or not to draw the image (as this is the most time consuming portion of the drawing operation).
CImageChart Reference | CPlot Reference