fx_win32_gdipext.cpp | 213 typedef GpStatus (WINGDIPAPI *FuncType_GdipCreateBitmapFromScan0)(INT width, INT height, INT stride, PixelFormat format, BYTE* scan0, GpBitmap** bitmap);
350 FX_LPBYTE scan0 = pBitmap->GetBuffer();
local 352 if ((scan0[0] & 0x80) == 0) {
404 CallFunc(GdipCreateBitmapFromScan0)(src_width, src_height, src_pitch, PixelFormat1bppIndexed, scan0, &bitmap);
431 FX_LPBYTE scan0 = pBitmap->GetBuffer() + pSrcRect->top * src_pitch + pBitmap->GetBPP() * pSrcRect->left / 8;
local 436 PixelFormat32bppARGB, scan0, &bitmap);
440 PixelFormat32bppRGB, scan0, &bitmap);
444 PixelFormat24bppRGB, scan0, &bitmap);
448 PixelFormat8bppIndexed, scan0, &bitmap);
460 PixelFormat1bppIndexed, scan0, &bitmap); [all...] |