gdi32: Make the convert_bits and stretch_bits helpers external.

This commit is contained in:
Huw Davies 2011-10-17 15:46:06 +01:00 committed by Alexandre Julliard
parent 64f6e9bc58
commit a01844b013
2 changed files with 10 additions and 5 deletions

View File

@ -166,7 +166,7 @@ void free_heap_bits( struct gdi_image_bits *bits )
HeapFree( GetProcessHeap(), 0, bits->ptr );
}
static DWORD convert_bits( const BITMAPINFO *src_info, struct bitblt_coords *src,
DWORD convert_bits( const BITMAPINFO *src_info, struct bitblt_coords *src,
BITMAPINFO *dst_info, struct gdi_image_bits *bits, BOOL add_alpha )
{
void *ptr;
@ -184,7 +184,7 @@ static DWORD convert_bits( const BITMAPINFO *src_info, struct bitblt_coords *src
return err;
}
static DWORD stretch_bits( const BITMAPINFO *src_info, struct bitblt_coords *src,
DWORD stretch_bits( const BITMAPINFO *src_info, struct bitblt_coords *src,
BITMAPINFO *dst_info, struct bitblt_coords *dst,
struct gdi_image_bits *bits, int mode )
{

View File

@ -223,7 +223,12 @@ extern BOOL BIDI_Reorder( HDC hDC, LPCWSTR lpString, INT uCount, DWORD dwFlags,
LPWSTR lpOutString, INT uCountOut, UINT *lpOrder, WORD **lpGlyphs, INT* cGlyphs ) DECLSPEC_HIDDEN;
/* bitblt.c */
extern DWORD convert_bits( const BITMAPINFO *src_info, struct bitblt_coords *src,
BITMAPINFO *dst_info, struct gdi_image_bits *bits, BOOL add_alpha ) DECLSPEC_HIDDEN;
extern BOOL intersect_vis_rectangles( struct bitblt_coords *dst, struct bitblt_coords *src ) DECLSPEC_HIDDEN;
extern DWORD stretch_bits( const BITMAPINFO *src_info, struct bitblt_coords *src,
BITMAPINFO *dst_info, struct bitblt_coords *dst,
struct gdi_image_bits *bits, int mode ) DECLSPEC_HIDDEN;
/* bitmap.c */
extern void get_ddb_bitmapinfo( BITMAPOBJ *bmp, BITMAPINFO *info ) DECLSPEC_HIDDEN;