Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
f9e77ad7
Commit
f9e77ad7
authored
May 14, 2023
by
Zhiyi Zhang
Committed by
Alexandre Julliard
May 29, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Support playing back pen custom end line cap.
Fix Cafe Stella (SteamID: 1829980) Flowchart crashes once there are 2 things on it.
parent
fea3a744
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
metafile.c
dlls/gdiplus/metafile.c
+6
-1
metafile.c
dlls/gdiplus/tests/metafile.c
+0
-1
No files found.
dlls/gdiplus/metafile.c
View file @
f9e77ad7
...
...
@@ -2671,7 +2671,12 @@ static GpStatus METAFILE_PlaybackObject(GpMetafile *metafile, UINT flags, UINT d
if
(
pendata
->
PenDataFlags
&
PenDataCustomEndCap
)
{
EmfPlusCustomEndCapData
*
endcap
=
(
EmfPlusCustomEndCapData
*
)((
BYTE
*
)
pendata
+
offset
);
FIXME
(
"PenDataCustomEndCap is not supported.
\n
"
);
if
((
status
=
metafile_deserialize_custom_line_cap
((
BYTE
*
)
endcap
,
data_size
,
&
custom_line_cap
))
!=
Ok
)
goto
penfailed
;
status
=
GdipSetPenCustomEndCap
(
pen
,
custom_line_cap
);
GdipDeleteCustomLineCap
(
custom_line_cap
);
if
(
status
!=
Ok
)
goto
penfailed
;
offset
+=
FIELD_OFFSET
(
EmfPlusCustomEndCapData
,
data
)
+
endcap
->
CustomEndCapSize
;
}
...
...
dlls/gdiplus/tests/metafile.c
View file @
f9e77ad7
...
...
@@ -3987,7 +3987,6 @@ static void test_pen(void)
stat
=
GdipBitmapGetPixel
(
bitmap
,
40
,
90
,
&
color
);
expect
(
Ok
,
stat
);
todo_wine
expect
(
0xffff0000
,
color
);
stat
=
GdipDisposeImage
((
GpImage
*
)
clone_metafile
);
...
...
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