2015-05-08 16:02:36 +00:00
|
|
|
/*
|
|
|
|
* PROJECT: PAINT for ReactOS
|
|
|
|
* LICENSE: LGPL
|
2015-05-08 16:27:46 +00:00
|
|
|
* FILE: base/applications/mspaint_new/dib.h
|
2015-05-08 16:02:36 +00:00
|
|
|
* PURPOSE: Some DIB related functions
|
|
|
|
* PROGRAMMERS: Benedikt Freisen
|
|
|
|
*/
|
|
|
|
|
|
|
|
HBITMAP CreateDIBWithProperties(int width, int height);
|
|
|
|
|
|
|
|
int GetDIBWidth(HBITMAP hbm);
|
|
|
|
|
|
|
|
int GetDIBHeight(HBITMAP hbm);
|
|
|
|
|
|
|
|
void SaveDIBToFile(HBITMAP hBitmap, LPTSTR FileName, HDC hDC, LPSYSTEMTIME time, int *size, int hRes,
|
|
|
|
int vRes);
|
|
|
|
|
|
|
|
void LoadDIBFromFile(HBITMAP *hBitmap, LPTSTR name, LPSYSTEMTIME time, int *size, int *hRes, int *vRes);
|
|
|
|
|
|
|
|
void ShowFileLoadError(LPTSTR name);
|