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
192e1115
Commit
192e1115
authored
Aug 01, 2007
by
Evan Stade
Committed by
Alexandre Julliard
Aug 02, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Don't suggest image size when converting WMF to EMF.
parent
a55f2332
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
graphics.c
dlls/gdiplus/graphics.c
+1
-10
No files found.
dlls/gdiplus/graphics.c
View file @
192e1115
...
...
@@ -849,7 +849,6 @@ GpStatus WINGDIPAPI GdipCreateMetafileFromWmf(HMETAFILE hwmf, BOOL delete,
IStream
*
stream
=
NULL
;
UINT
read
;
BYTE
*
copy
;
METAFILEPICT
mfp
;
HENHMETAFILE
hemf
;
GpStatus
retval
=
GenericError
;
...
...
@@ -859,21 +858,13 @@ GpStatus WINGDIPAPI GdipCreateMetafileFromWmf(HMETAFILE hwmf, BOOL delete,
if
(
!
(
calls
++
))
FIXME
(
"partially implemented
\n
"
);
if
(
placeable
->
Inch
!=
INCH_HIMETRIC
)
return
NotImplemented
;
mfp
.
mm
=
MM_HIMETRIC
;
mfp
.
xExt
=
placeable
->
BoundingBox
.
Right
-
placeable
->
BoundingBox
.
Left
;
mfp
.
yExt
=
placeable
->
BoundingBox
.
Bottom
-
placeable
->
BoundingBox
.
Top
;
mfp
.
hMF
=
NULL
;
read
=
GetMetaFileBitsEx
(
hwmf
,
0
,
NULL
);
if
(
!
read
)
return
GenericError
;
copy
=
GdipAlloc
(
read
);
GetMetaFileBitsEx
(
hwmf
,
read
,
copy
);
hemf
=
SetWinMetaFileBits
(
read
,
copy
,
NULL
,
&
mfp
);
hemf
=
SetWinMetaFileBits
(
read
,
copy
,
NULL
,
NULL
);
GdipFree
(
copy
);
read
=
GetEnhMetaFileBits
(
hemf
,
0
,
NULL
);
...
...
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