mirror of
https://github.com/reactos/reactos.git
synced 2024-10-19 07:28:18 +00:00
787cb5551f
- Finally get rid of ProbeAndConvertToBitmapV5Info - Rewrite renderBITMAPfromDIB, and a good bunch of DIB related functions accordingly. - Rewrite BITMAP_CopyBitmap into something simpler. - Use already existing DIB functions in IntGdiCreateDIBBrush - Use DIB sections in NtGdiStretchDIBitsInternal and NtGdiSetDIBits. - Use Bitmap hdc for NtGdiGetDIBitsInternal if there is one. svn path=/branches/reactos-yarotows/; revision=48389
23 lines
850 B
C
23 lines
850 B
C
#pragma once
|
|
|
|
#include "dc.h"
|
|
|
|
INT FASTCALL
|
|
DIB_BitmapInfoSize (const BITMAPINFO * info, WORD coloruse);
|
|
HBITMAP APIENTRY
|
|
DIB_CreateDIBSection (PDC dc, CONST BITMAPINFO *bmi, UINT usage, LPVOID *bits, HANDLE section, DWORD offset, DWORD ovr_pitch);
|
|
int FASTCALL
|
|
DIB_GetBitmapInfo( const BITMAPINFOHEADER *header, LONG *width,
|
|
LONG *height, WORD *planes, WORD *bpp, DWORD *compr, DWORD *size );
|
|
INT APIENTRY
|
|
DIB_GetDIBImageBytes (INT width, INT height, INT depth);
|
|
INT FASTCALL
|
|
DIB_GetDIBWidthBytes (INT width, INT depth);
|
|
HPALETTE FASTCALL
|
|
DIB_MapPaletteColors(PPALETTE ppal, CONST BITMAPINFO* lpbmi);
|
|
|
|
HPALETTE FASTCALL
|
|
BuildDIBPalette (CONST BITMAPINFO *bmi);
|
|
|
|
BITMAPINFO* FASTCALL DIB_ConvertBitmapInfo(CONST BITMAPINFO* bmi, DWORD Usage);
|
|
VOID FASTCALL DIB_FreeConvertedBitmapInfo(BITMAPINFO* converted, BITMAPINFO* orig); |