gdi32: Make the convert_bits and stretch_bits helpers external.
This commit is contained in:
parent
64f6e9bc58
commit
a01844b013
|
@ -166,8 +166,8 @@ 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,
|
||||
BITMAPINFO *dst_info, struct gdi_image_bits *bits, BOOL add_alpha )
|
||||
DWORD convert_bits( const BITMAPINFO *src_info, struct bitblt_coords *src,
|
||||
BITMAPINFO *dst_info, struct gdi_image_bits *bits, BOOL add_alpha )
|
||||
{
|
||||
void *ptr;
|
||||
DWORD err;
|
||||
|
@ -184,9 +184,9 @@ 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,
|
||||
BITMAPINFO *dst_info, struct bitblt_coords *dst,
|
||||
struct gdi_image_bits *bits, int mode )
|
||||
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 )
|
||||
{
|
||||
void *ptr;
|
||||
DWORD err;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue