Lines Matching refs:cyWinSize
58 BYTE **ppDiData, int cxWinSize, int cyWinSize,
63 BYTE *pDiData, int cxWinSize, int cyWinSize);
66 BYTE *pDiData, int cxWinSize, int cyWinSize,
158 static int cxWinSize, cyWinSize; in WndProc() local
209 DisplayImage (hwnd, &pDib, &pDiData, cxWinSize, cyWinSize, in WndProc()
217 cyWinSize = HIWORD (lParam); in WndProc()
225 DisplayImage (hwnd, &pDib, &pDiData, cxWinSize, cyWinSize, in WndProc()
270 DisplayImage (hwnd, &pDib, &pDiData, cxWinSize, cyWinSize, in WndProc()
287 bOk = PngSaveImage (szImgPathName, pDiData, cxWinSize, cyWinSize, in WndProc()
320 DisplayImage (hwnd, &pDib, &pDiData, cxWinSize, cyWinSize, in WndProc()
349 DisplayImage (hwnd, &pDib, &pDiData, cxWinSize, cyWinSize, in WndProc()
394 DisplayImage (hwnd, &pDib, &pDiData, cxWinSize, cyWinSize, in WndProc()
411 SetDIBitsToDevice (hdc, 0, 0, cxWinSize, cyWinSize, 0, 0, in WndProc()
412 0, cyWinSize, pDiData, (BITMAPINFO *) pDib, DIB_RGB_COLORS); in WndProc()
706 BYTE **ppDiData, int cxWinSize, int cyWinSize, argument
729 if (cyWinSize > ((size_t)(-1))/wDIRowBytes) {
734 wDIRowBytes * cyWinSize)))
749 pbmih->biHeight = -((long) cyWinSize);
758 InitBitmap (pDiData, cxWinSize, cyWinSize);
765 pDiData, cxWinSize, cyWinSize,
777 BOOL InitBitmap (BYTE *pDiData, int cxWinSize, int cyWinSize)
785 for (y = 0; y < cyWinSize; y++)
812 BYTE *pDiData, int cxWinSize, int cyWinSize,
833 cyNewSize = cyWinSize - 2 * MARGIN;
845 cyImgPos = (cyWinSize - cyNewSize) / 2;
892 if (yWin >= cyWinSize - cyImgPos)
931 cyImgPos = (cyWinSize - cyImgSize) / 2;
949 if (yWin >= cyWinSize - MARGIN)