Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
a01844b0
Commit
a01844b0
authored
Oct 17, 2011
by
Huw Davies
Committed by
Alexandre Julliard
Oct 17, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Make the convert_bits and stretch_bits helpers external.
parent
64f6e9bc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
bitblt.c
dlls/gdi32/bitblt.c
+2
-2
gdi_private.h
dlls/gdi32/gdi_private.h
+5
-0
No files found.
dlls/gdi32/bitblt.c
View file @
a01844b0
...
...
@@ -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
)
{
...
...
dlls/gdi32/gdi_private.h
View file @
a01844b0
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment