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
c3bd7c00
Commit
c3bd7c00
authored
Mar 28, 2023
by
Piotr Caban
Committed by
Alexandre Julliard
Mar 28, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineps: Handle EMR_BITBLT record in spool files.
parent
ab12be68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
printproc.c
dlls/wineps.drv/printproc.c
+28
-0
No files found.
dlls/wineps.drv/printproc.c
View file @
c3bd7c00
...
...
@@ -493,6 +493,34 @@ static int WINAPI hmf_proc(HDC hdc, HANDLETABLE *htable,
DeleteObject
(
rgn
);
return
ret
;
}
case
EMR_BITBLT
:
{
const
EMRBITBLT
*
p
=
(
const
EMRBITBLT
*
)
rec
;
const
BITMAPINFO
*
bi
=
(
const
BITMAPINFO
*
)((
BYTE
*
)
p
+
p
->
offBmiSrc
);
const
BYTE
*
src_bits
=
(
BYTE
*
)
p
+
p
->
offBitsSrc
;
EMRSTRETCHBLT
blt
;
blt
.
rclBounds
=
p
->
rclBounds
;
blt
.
xDest
=
p
->
xDest
;
blt
.
yDest
=
p
->
yDest
;
blt
.
cxDest
=
p
->
cxDest
;
blt
.
cyDest
=
p
->
cyDest
;
blt
.
dwRop
=
p
->
dwRop
;
blt
.
xSrc
=
p
->
xSrc
;
blt
.
ySrc
=
p
->
ySrc
;
blt
.
xformSrc
=
p
->
xformSrc
;
blt
.
crBkColorSrc
=
p
->
crBkColorSrc
;
blt
.
iUsageSrc
=
p
->
iUsageSrc
;
blt
.
offBmiSrc
=
p
->
offBmiSrc
;
blt
.
cbBmiSrc
=
p
->
cbBmiSrc
;
blt
.
offBitsSrc
=
p
->
offBitsSrc
;
blt
.
cbBitsSrc
=
p
->
cbBitsSrc
;
blt
.
cxSrc
=
p
->
cxDest
;
blt
.
cySrc
=
p
->
cyDest
;
return
stretch_blt
(
&
data
->
pdev
->
dev
,
&
blt
,
bi
,
src_bits
);
}
case
EMR_STRETCHBLT
:
{
const
EMRSTRETCHBLT
*
p
=
(
const
EMRSTRETCHBLT
*
)
rec
;
...
...
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