Home | History | Annotate | Download | only in windows

Lines Matching defs:bmap

1025     BITMAP bmap;
1029 GetObject((HBITMAP)bitMap, sizeof(bmap), &bmap);
1035 pbi.bmiHeader.biWidth = bmap.bmWidth;
1036 pbi.bmiHeader.biHeight = bmap.bmHeight;
1038 pbi.bmiHeader.biBitCount = bmap.bmBitsPixel;
1040 pbi.bmiHeader.biSizeImage = bmap.bmWidth * bmap.bmHeight * 3;
1041 srcPtr = new unsigned char[bmap.bmWidth * bmap.bmHeight * 4];
1043 int pixelHeight = GetDIBits(hdcNew, (HBITMAP)bitMap, 0, bmap.bmHeight, srcPtr, &pbi,
1068 ret = _pd3dDevice->CreateTexture(bmap.bmWidth, bmap.bmHeight, 1, 0,
1092 int pitch = bmap.bmWidth * 4;
1096 ConvertRGB24ToARGB(srcPtr, dstPtr, bmap.bmWidth, bmap.bmHeight, 0);
1100 unsigned char* srcTmp = srcPtr + (bmap.bmWidth * 4) * (bmap.bmHeight - 1);
1101 for (int i = 0; i < bmap.bmHeight; ++i)
1103 memcpy(dstPtr, srcTmp, bmap.bmWidth * 4);
1104 srcTmp -= bmap.bmWidth * 4;
1119 SetTransparentColor(_pTextureLogo, ddColorKey, bmap.bmWidth,
1120 bmap.bmHeight);