Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

dib.h

Go to the documentation of this file.
00001 /* $Id: dib.h,v 1.6 2000/11/15 20:44:26 sandervl Exp $ */
00002 
00003 /*
00004  * Win32 DIB functions for OS/2
00005  *
00006  * Copyright 1999 Sander van Leeuwen (OS/2 Port)
00007  *
00008  * Based on Wine code (objects\dib.c):
00009  *
00010  * GDI device-independent bitmaps
00011  *
00012  * Copyright 1993,1994  Alexandre Julliard
00013  *
00014  * Project Odin Software License can be found in LICENSE.TXT
00015  *
00016  */
00017 
00018 #ifndef __DIB_H__
00019 #define __DIB_H__
00020 
00021 //must use WIN32API as it's exported
00022 int WIN32API DIB_GetDIBWidthBytes( int width, int depth );
00023 
00024 int DIB_GetDIBImageBytes( int width, int height, int depth );
00025 int DIB_BitmapInfoSize( BITMAPINFO * info, WORD coloruse );
00026 int DIB_GetBitmapInfo( const BITMAPINFOHEADER *header, DWORD *width,
00027                               int *height, WORD *bpp, WORD *compr );
00028 void DIB_FixColorsToLoadflags(BITMAPINFO * bmi, UINT loadflags, BYTE pix);
00029 int  WIN32API BITMAP_GetWidthBytes( INT width, INT depth );
00030 
00031 #endif

Generated on Wed Jan 23 23:17:29 2002 for ODIN-user32 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001