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
eb9d7f59
Commit
eb9d7f59
authored
Jul 10, 2008
by
Huw Davies
Committed by
Alexandre Julliard
Jul 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implement GdipCreateMetafileFromWmfFile.
parent
3ab76662
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
1 deletion
+14
-1
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
graphics.c
dlls/gdiplus/graphics.c
+12
-0
gdiplusflat.h
include/gdiplusflat.h
+1
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
eb9d7f59
...
...
@@ -112,7 +112,7 @@
@ stub GdipCreateMetafileFromFile
@ stub GdipCreateMetafileFromStream
@ stdcall GdipCreateMetafileFromWmf(ptr long ptr ptr)
@ st
ub GdipCreateMetafileFromWmfFile
@ st
dcall GdipCreateMetafileFromWmfFile(wstr ptr ptr)
@ stdcall GdipCreatePath2(ptr ptr long long ptr)
@ stdcall GdipCreatePath2I(ptr ptr long long ptr)
@ stdcall GdipCreatePath(long ptr)
...
...
dlls/gdiplus/graphics.c
View file @
eb9d7f59
...
...
@@ -881,6 +881,18 @@ err:
return
retval
;
}
GpStatus
WINGDIPAPI
GdipCreateMetafileFromWmfFile
(
GDIPCONST
WCHAR
*
file
,
GDIPCONST
WmfPlaceableFileHeader
*
placeable
,
GpMetafile
**
metafile
)
{
HMETAFILE
hmf
=
GetMetaFileW
(
file
);
TRACE
(
"(%s, %p, %p)
\n
"
,
debugstr_w
(
file
),
placeable
,
metafile
);
if
(
!
hmf
)
return
InvalidParameter
;
return
GdipCreateMetafileFromWmf
(
hmf
,
TRUE
,
placeable
,
metafile
);
}
GpStatus
WINGDIPAPI
GdipCreateStreamOnFile
(
GDIPCONST
WCHAR
*
filename
,
UINT
access
,
IStream
**
stream
)
{
...
...
include/gdiplusflat.h
View file @
eb9d7f59
...
...
@@ -77,6 +77,7 @@ GpStatus WINGDIPAPI GdipCreateLineBrushFromRectWithAngleI(GDIPCONST GpRect*,
GpStatus
WINGDIPAPI
GdipCreateMetafileFromEmf
(
HENHMETAFILE
,
BOOL
,
GpMetafile
**
);
GpStatus
WINGDIPAPI
GdipCreateMetafileFromWmf
(
HMETAFILE
,
BOOL
,
GDIPCONST
WmfPlaceableFileHeader
*
,
GpMetafile
**
);
GpStatus
WINGDIPAPI
GdipCreateMetafileFromWmfFile
(
GDIPCONST
WCHAR
*
,
GDIPCONST
WmfPlaceableFileHeader
*
,
GpMetafile
**
);
GpStatus
WINGDIPAPI
GdipCreateStreamOnFile
(
GDIPCONST
WCHAR
*
,
UINT
,
IStream
**
);
GpStatus
WINGDIPAPI
GdipDeleteGraphics
(
GpGraphics
*
);
GpStatus
WINGDIPAPI
GdipDrawArc
(
GpGraphics
*
,
GpPen
*
,
REAL
,
REAL
,
REAL
,
REAL
,
REAL
,
REAL
);
...
...
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