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
e7de8395
Commit
e7de8395
authored
May 17, 2021
by
Zhiyi Zhang
Committed by
Alexandre Julliard
May 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Dump the distance array for EMR_EXTTEXTOUTW records.
Signed-off-by:
Zhiyi Zhang
<
zzhang@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
02325ccb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
emf.c
tools/winedump/emf.c
+9
-0
No files found.
tools/winedump/emf.c
View file @
e7de8395
...
@@ -378,6 +378,7 @@ static int dump_emfrecord(void)
...
@@ -378,6 +378,7 @@ static int dump_emfrecord(void)
case
EMR_EXTTEXTOUTW
:
case
EMR_EXTTEXTOUTW
:
{
{
const
EMREXTTEXTOUTW
*
etoW
=
PRD
(
offset
,
sizeof
(
*
etoW
));
const
EMREXTTEXTOUTW
*
etoW
=
PRD
(
offset
,
sizeof
(
*
etoW
));
const
int
*
dx
=
(
const
int
*
)((
const
BYTE
*
)
etoW
+
etoW
->
emrtext
.
offDx
);
printf
(
"%-20s %08x
\n
"
,
"EMR_EXTTEXTOUTW"
,
length
);
printf
(
"%-20s %08x
\n
"
,
"EMR_EXTTEXTOUTW"
,
length
);
printf
(
"bounds (%d,%d - %d,%d) mode %#x x_scale %f y_scale %f pt (%d,%d) rect (%d,%d - %d,%d) flags %#x, %s
\n
"
,
printf
(
"bounds (%d,%d - %d,%d) mode %#x x_scale %f y_scale %f pt (%d,%d) rect (%d,%d - %d,%d) flags %#x, %s
\n
"
,
...
@@ -388,6 +389,14 @@ static int dump_emfrecord(void)
...
@@ -388,6 +389,14 @@ static int dump_emfrecord(void)
etoW
->
emrtext
.
rcl
.
right
,
etoW
->
emrtext
.
rcl
.
bottom
,
etoW
->
emrtext
.
rcl
.
right
,
etoW
->
emrtext
.
rcl
.
bottom
,
etoW
->
emrtext
.
fOptions
,
etoW
->
emrtext
.
fOptions
,
debugstr_wn
((
LPCWSTR
)((
const
BYTE
*
)
etoW
+
etoW
->
emrtext
.
offString
),
etoW
->
emrtext
.
nChars
));
debugstr_wn
((
LPCWSTR
)((
const
BYTE
*
)
etoW
+
etoW
->
emrtext
.
offString
),
etoW
->
emrtext
.
nChars
));
printf
(
"dx_offset %u {"
,
etoW
->
emrtext
.
offDx
);
for
(
i
=
0
;
i
<
etoW
->
emrtext
.
nChars
;
++
i
)
{
printf
(
"%d"
,
dx
[
i
]);
if
(
i
!=
etoW
->
emrtext
.
nChars
-
1
)
putchar
(
','
);
}
printf
(
"}
\n
"
);
break
;
break
;
}
}
...
...
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