Inheritance diagram for Conv32to32:
Public Member Functions | |
Conv32to32 (UINT32) | |
Constructor. | |
~Conv32to32 () | |
BOOL | Convert (LPBYTE Input, LPBYTE Output, UINT32 Height, BOOL FirstStrip) |
Private Attributes | |
BITMAPINFOHEADER | SourceHeader |
BITMAPINFOHEADER | DestHeader |
Definition at line 123 of file dibconv.cpp.
|
Constructor.
Definition at line 398 of file dibconv.cpp. 00399 { 00400 SourceHeader.biPlanes = 1; 00401 SourceHeader.biBitCount = 32; 00402 SourceHeader.biWidth = Width; 00403 SourceHeader.biClrUsed = 0; 00404 00405 DestHeader.biPlanes = 1; 00406 DestHeader.biBitCount = 32; 00407 DestHeader.biWidth = Width; 00408 DestHeader.biClrUsed = 0; 00409 }
|
|
Definition at line 411 of file dibconv.cpp.
|
|
Implements DIBConvert. Definition at line 415 of file dibconv.cpp. 00416 { 00417 SourceHeader.biHeight = Height; 00418 00419 DestHeader.biHeight = Height; 00420 00421 DWORD DitherWord = 0; 00422 00423 GDrawContext *GDC = GetConvertContext(); 00424 const BOOL res = GDC->ConvertBitmap( &SourceHeader, Input, &DestHeader, Output, DitherWord); 00425 if (!res) 00426 TRACE( _T("GColour_ConvertBitmap did error %x\n"), GetLastError() ); 00427 00428 return TRUE; 00429 }
|
|
Definition at line 133 of file dibconv.cpp. |
|
Definition at line 132 of file dibconv.cpp. |