Searched refs:cxNewSize (Results 1 – 1 of 1) sorted by relevance
819 int cxNewSize, cyNewSize; in FillBitmap() local828 cxNewSize = cxWinSize - 2 * MARGIN; in FillBitmap()837 if ((cyNewSize * cxImgSize) > (cyImgSize * cxNewSize)) in FillBitmap()839 cyNewSize = cxNewSize * cyImgSize / cxImgSize; in FillBitmap()845 cxNewSize = cyNewSize * cxImgSize / cyImgSize; in FillBitmap()847 cxImgPos = (cxWinSize - cxNewSize) / 2; in FillBitmap()850 pStretchedImage = malloc (cImgChannels * cxNewSize * cyNewSize); in FillBitmap()856 for (xNew = 0; xNew < cxNewSize; xNew++) in FillBitmap()858 xOld = xNew * cxImgSize / cxNewSize; in FillBitmap()877 wImgRowBytes = cImgChannels * cxNewSize; in FillBitmap()[all …]