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
5cc8c10e
Commit
5cc8c10e
authored
Jul 24, 2007
by
Evan Stade
Committed by
Alexandre Julliard
Jul 25, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Added GdipCreateMetafileFromEmf stub.
parent
b7053b74
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
1 deletion
+20
-1
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
graphics.c
dlls/gdiplus/graphics.c
+14
-0
gdiplusflat.h
include/gdiplusflat.h
+1
-0
gdiplusgpstubs.h
include/gdiplusgpstubs.h
+4
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
5cc8c10e
...
...
@@ -99,7 +99,7 @@
@ stub GdipCreateMatrix3
@ stub GdipCreateMatrix3I
@ stdcall GdipCreateMatrix(ptr)
@ st
ub GdipCreateMetafileFromEmf
@ st
dcall GdipCreateMetafileFromEmf(ptr long ptr)
@ stub GdipCreateMetafileFromFile
@ stub GdipCreateMetafileFromStream
@ stub GdipCreateMetafileFromWmf
...
...
dlls/gdiplus/graphics.c
View file @
5cc8c10e
...
...
@@ -804,6 +804,20 @@ GpStatus WINGDIPAPI GdipCreateFromHWND(HWND hwnd, GpGraphics **graphics)
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipCreateMetafileFromEmf
(
HENHMETAFILE
hemf
,
BOOL
delete
,
GpMetafile
**
metafile
)
{
static
int
calls
;
if
(
!
hemf
||
!
metafile
)
return
InvalidParameter
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipDeleteGraphics
(
GpGraphics
*
graphics
)
{
if
(
!
graphics
)
return
InvalidParameter
;
...
...
include/gdiplusflat.h
View file @
5cc8c10e
...
...
@@ -46,6 +46,7 @@ GpStatus WINGDIPAPI GdipSetPenStartCap(GpPen*,GpLineCap);
GpStatus
WINGDIPAPI
GdipCreateFromHDC
(
HDC
,
GpGraphics
**
);
GpStatus
WINGDIPAPI
GdipCreateFromHWND
(
HWND
,
GpGraphics
**
);
GpStatus
WINGDIPAPI
GdipCreateMetafileFromEmf
(
HENHMETAFILE
,
BOOL
,
GpMetafile
**
);
GpStatus
WINGDIPAPI
GdipDeleteGraphics
(
GpGraphics
*
);
GpStatus
WINGDIPAPI
GdipDrawArc
(
GpGraphics
*
,
GpPen
*
,
REAL
,
REAL
,
REAL
,
REAL
,
REAL
,
REAL
);
GpStatus
WINGDIPAPI
GdipDrawBezier
(
GpGraphics
*
,
GpPen
*
,
REAL
,
REAL
,
REAL
,
REAL
,
REAL
,
...
...
include/gdiplusgpstubs.h
View file @
5cc8c10e
...
...
@@ -29,6 +29,8 @@ class GpPath {};
class
GpMatrix
{};
class
GpPathIterator
{};
class
GpCustomLineCap
{};
class
GpImage
{};
class
GpMetafile
:
public
GpImage
{};
#else
/* end of c++ declarations */
...
...
@@ -40,6 +42,8 @@ typedef struct GpPath GpPath;
typedef
struct
GpMatrix
GpMatrix
;
typedef
struct
GpPathIterator
GpPathIterator
;
typedef
struct
GpCustomLineCap
GpCustomLineCap
;
typedef
struct
GpImage
GpImage
;
typedef
struct
GpMetafile
GpMetafile
;
#endif
/* end of c declarations */
...
...
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