Searched refs:cyNewSize (Results 1 – 1 of 1) sorted by relevance
819 int cxNewSize, cyNewSize; in FillBitmap() local829 cyNewSize = cyWinSize - 2 * MARGIN; in FillBitmap()837 if ((cyNewSize * cxImgSize) > (cyImgSize * cxNewSize)) in FillBitmap()839 cyNewSize = cxNewSize * cyImgSize / cxImgSize; in FillBitmap()841 cyImgPos = (cyWinSize - cyNewSize) / 2; in FillBitmap()845 cxNewSize = cyNewSize * cxImgSize / cyImgSize; in FillBitmap()850 pStretchedImage = malloc (cImgChannels * cxNewSize * cyNewSize); in FillBitmap()853 for (yNew = 0; yNew < cyNewSize; yNew++) in FillBitmap()855 yOld = yNew * cyImgSize / cyNewSize; in FillBitmap()882 for (yImg = 0, yWin = cyImgPos; yImg < cyNewSize; yImg++, yWin++) in FillBitmap()