Searched refs:cxNewSize (Results 1 – 1 of 1) sorted by relevance
815 int cxNewSize, cyNewSize; in FillBitmap() local824 cxNewSize = cxWinSize - 2 * MARGIN; in FillBitmap()832 if ((cyNewSize * cxImgSize) > (cyImgSize * cxNewSize)) in FillBitmap()834 cyNewSize = cxNewSize * cyImgSize / cxImgSize; in FillBitmap()840 cxNewSize = cyNewSize * cxImgSize / cyImgSize; in FillBitmap()842 cxImgPos = (cxWinSize - cxNewSize) / 2; in FillBitmap()845 pStretchedImage = malloc (cImgChannels * cxNewSize * cyNewSize); in FillBitmap()851 for (xNew = 0; xNew < cxNewSize; xNew++) in FillBitmap()853 xOld = xNew * cxImgSize / cxNewSize; in FillBitmap()872 wImgRowBytes = cImgChannels * cxNewSize; in FillBitmap()[all …]