Lines Matching refs:cxNewSize
819 int cxNewSize, cyNewSize; in FillBitmap() local
828 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()
889 for (xImg = 0, xWin = cxImgPos; xImg < cxNewSize; xImg++, xWin++) in FillBitmap()