forked from Mirrors/wine-wine
gdi32: Make the convert_bits and stretch_bits helpers external.
parent
64f6e9bc58
commit
a01844b013
|
@ -166,8 +166,8 @@ void free_heap_bits( struct gdi_image_bits *bits )
|
||||||
HeapFree( GetProcessHeap(), 0, bits->ptr );
|
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 )
|
BITMAPINFO *dst_info, struct gdi_image_bits *bits, BOOL add_alpha )
|
||||||
{
|
{
|
||||||
void *ptr;
|
void *ptr;
|
||||||
DWORD err;
|
DWORD err;
|
||||||
|
@ -184,9 +184,9 @@ static DWORD convert_bits( const BITMAPINFO *src_info, struct bitblt_coords *src
|
||||||
return err;
|
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,
|
BITMAPINFO *dst_info, struct bitblt_coords *dst,
|
||||||
struct gdi_image_bits *bits, int mode )
|
struct gdi_image_bits *bits, int mode )
|
||||||
{
|
{
|
||||||
void *ptr;
|
void *ptr;
|
||||||
DWORD err;
|
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;
|
LPWSTR lpOutString, INT uCountOut, UINT *lpOrder, WORD **lpGlyphs, INT* cGlyphs ) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* bitblt.c */
|
/* 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 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 */
|
/* bitmap.c */
|
||||||
extern void get_ddb_bitmapinfo( BITMAPOBJ *bmp, BITMAPINFO *info ) DECLSPEC_HIDDEN;
|
extern void get_ddb_bitmapinfo( BITMAPOBJ *bmp, BITMAPINFO *info ) DECLSPEC_HIDDEN;
|
||||||
|
|
Loading…
Reference in New Issue