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
8c1ded61
Commit
8c1ded61
authored
Sep 14, 2016
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Sep 15, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implement GdipGetMetafileHeaderFromWmf.
Signed-off-by:
Vincent Povirk
<
vincent@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4931e6f9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletion
+18
-1
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
metafile.c
dlls/gdiplus/metafile.c
+17
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
8c1ded61
...
...
@@ -303,7 +303,7 @@
303 stdcall GdipGetMetafileHeaderFromFile(wstr ptr)
304 stdcall GdipGetMetafileHeaderFromMetafile(ptr ptr)
305 stdcall GdipGetMetafileHeaderFromStream(ptr ptr)
306 st
ub GdipGetMetafileHeaderFromWmf
306 st
dcall GdipGetMetafileHeaderFromWmf(ptr ptr ptr)
307 stdcall GdipGetNearestColor(ptr ptr)
308 stdcall GdipGetPageScale(ptr ptr)
309 stdcall GdipGetPageUnit(ptr ptr)
...
...
dlls/gdiplus/metafile.c
View file @
8c1ded61
...
...
@@ -1779,6 +1779,23 @@ GpStatus WINGDIPAPI GdipGetMetafileHeaderFromEmf(HENHMETAFILE hemf,
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipGetMetafileHeaderFromWmf
(
HMETAFILE
hwmf
,
GDIPCONST
WmfPlaceableFileHeader
*
placeable
,
MetafileHeader
*
header
)
{
GpStatus
status
;
GpMetafile
*
metafile
;
TRACE
(
"(%p,%p,%p)
\n
"
,
hwmf
,
placeable
,
header
);
status
=
GdipCreateMetafileFromWmf
(
hwmf
,
FALSE
,
placeable
,
&
metafile
);
if
(
status
==
Ok
)
{
status
=
GdipGetMetafileHeaderFromMetafile
(
metafile
,
header
);
GdipDisposeImage
(
&
metafile
->
image
);
}
return
status
;
}
GpStatus
WINGDIPAPI
GdipGetMetafileHeaderFromFile
(
GDIPCONST
WCHAR
*
filename
,
MetafileHeader
*
header
)
{
...
...
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