CImageChart::AdjustPlotSizeForWindowSize


CRect AdjustPlotSizeForWindowSize( CDC *pDC, CRect destRect, CRect plotRect );

Parameters

Returns

A rectangle representing any adjustments made to plotRect to take into account the window size and the scaling variables.

Description

This function examines the window size and the scaling variables to determine the best size for the image. It also sets the m_Scale variable to whatever the current scaling of the image is.


CImageChart Reference | CPlot Reference