reactos/rosapps/smartpdf/baseutils/win_image.h
Klemens Friedl 435a566751 SmartPDF - lightweight pdf viewer app for rosapps
* sumatrapdf - vendor import
* everything compiles (libjpeg, poppler, fitz, sumatrapdf)
* does NOT link

(remove the comment tags in the parent directory.rbuild file (rosapps dir) to build it)

svn path=/trunk/; revision=29295
2007-09-29 08:39:35 +00:00

24 lines
582 B
C

/* Written by Krzysztof Kowalczyk (http://blog.kowalczyk.info)
The author disclaims copyright to this source code. */
#ifndef WIN_IMAGE_H__
#define WIN_IMAGE_H__
#ifdef __cplusplus
extern "C"
{
#endif
typedef struct win_image win_image;
win_image * win_image_from_file(const TCHAR *file_path);
win_image * win_image_from_buffer(void *buf, UINT buf_size);
win_image * win_image_from_resource(HMODULE hinst, int resource_id);
void win_image_delete(win_image *img);
void win_image_blit_at(win_image *img, HDC dc, int x, int y);
#ifdef __cplusplus
}
#endif
#endif