CImageChart::GetScaledImageData
BYTE *GetScaledImageData( BYTE *data, int *dims, BOOL allocate );
Parameters
- data - A pointer to data to a word-aligned byte image
- dims - A pointer to an integer array containing the TWO dimensions of the image
- allocate - Set to TRUE to allocate temporary memory which must be then disposed of in a later call to GetScaledImageData
Returns
A pointer to a word-aligned byte image which is scaled for the current window size.
Description
This function looks at the current image scaling, and takes a byte image and does appropriate scaling on the image in order to display it the correct size on the screen. See scaling variables for more information on scaling in CImageChart.
CImageChart Reference | CPlot Reference