2015-05-08 16:02:36 +00:00
|
|
|
/*
|
|
|
|
* PROJECT: PAINT for ReactOS
|
|
|
|
* LICENSE: LGPL
|
2015-09-09 13:13:35 +00:00
|
|
|
* FILE: base/applications/mspaint/dib.h
|
2015-05-08 16:02:36 +00:00
|
|
|
* PURPOSE: Some DIB related functions
|
|
|
|
* PROGRAMMERS: Benedikt Freisen
|
|
|
|
*/
|
|
|
|
|
2017-12-09 12:36:45 +00:00
|
|
|
#pragma once
|
|
|
|
|
2015-05-08 16:02:36 +00:00
|
|
|
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);
|
|
|
|
|
2016-09-26 19:53:42 +00:00
|
|
|
void LoadDIBFromFile(HBITMAP *hBitmap, LPCTSTR name, LPSYSTEMTIME time, int *size, int *hRes, int *vRes);
|
2015-05-08 16:02:36 +00:00
|
|
|
|
2016-09-26 19:53:42 +00:00
|
|
|
void ShowFileLoadError(LPCTSTR name);
|