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
021997fa
Commit
021997fa
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 GdipCreateMetafileFromWmf stub.
parent
8770b6e8
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
64 additions
and
1 deletion
+64
-1
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
graphics.c
dlls/gdiplus/graphics.c
+14
-0
Makefile.in
include/Makefile.in
+1
-0
gdiplus.h
include/gdiplus.h
+2
-0
gdiplusflat.h
include/gdiplusflat.h
+2
-0
gdiplusmetaheader.h
include/gdiplusmetaheader.h
+44
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
021997fa
...
...
@@ -102,7 +102,7 @@
@ stdcall GdipCreateMetafileFromEmf(ptr long ptr)
@ stub GdipCreateMetafileFromFile
@ stub GdipCreateMetafileFromStream
@ st
ub GdipCreateMetafileFromWmf
@ st
dcall GdipCreateMetafileFromWmf(ptr long ptr ptr)
@ stub GdipCreateMetafileFromWmfFile
@ stub GdipCreatePath2
@ stub GdipCreatePath2I
...
...
dlls/gdiplus/graphics.c
View file @
021997fa
...
...
@@ -818,6 +818,20 @@ GpStatus WINGDIPAPI GdipCreateMetafileFromEmf(HENHMETAFILE hemf, BOOL delete,
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipCreateMetafileFromWmf
(
HMETAFILE
hwmf
,
BOOL
delete
,
GDIPCONST
WmfPlaceableFileHeader
*
placeable
,
GpMetafile
**
metafile
)
{
static
int
calls
;
if
(
!
hwmf
||
!
metafile
||
!
placeable
)
return
InvalidParameter
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipDeleteGraphics
(
GpGraphics
*
graphics
)
{
if
(
!
graphics
)
return
InvalidParameter
;
...
...
include/Makefile.in
View file @
021997fa
...
...
@@ -169,6 +169,7 @@ SRCDIR_INCLUDES = \
gdiplusgpstubs.h
\
gdiplusinit.h
\
gdiplusmem.h
\
gdiplusmetaheader.h
\
gdipluspixelformats.h
\
gdiplustypes.h
\
guiddef.h
\
...
...
include/gdiplus.h
View file @
021997fa
...
...
@@ -32,6 +32,7 @@ namespace Gdiplus
#include "gdiplusenums.h"
#include "gdiplusinit.h"
#include "gdipluspixelformats.h"
#include "gdiplusmetaheader.h"
#include "gdiplusgpstubs.h"
namespace
DllExports
...
...
@@ -48,6 +49,7 @@ namespace Gdiplus
#include "gdiplusenums.h"
#include "gdiplusinit.h"
#include "gdipluspixelformats.h"
#include "gdiplusmetaheader.h"
#include "gdiplusgpstubs.h"
#include "gdiplusflat.h"
...
...
include/gdiplusflat.h
View file @
021997fa
...
...
@@ -47,6 +47,8 @@ GpStatus WINGDIPAPI GdipSetPenStartCap(GpPen*,GpLineCap);
GpStatus
WINGDIPAPI
GdipCreateFromHDC
(
HDC
,
GpGraphics
**
);
GpStatus
WINGDIPAPI
GdipCreateFromHWND
(
HWND
,
GpGraphics
**
);
GpStatus
WINGDIPAPI
GdipCreateMetafileFromEmf
(
HENHMETAFILE
,
BOOL
,
GpMetafile
**
);
GpStatus
WINGDIPAPI
GdipCreateMetafileFromWmf
(
HMETAFILE
,
BOOL
,
GDIPCONST
WmfPlaceableFileHeader
*
,
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/gdiplusmetaheader.h
0 → 100644
View file @
021997fa
/*
* Copyright (C) 2007 Google (Evan Stade)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef _GDIPLUSMETAHEADER_H
#define _GDIPLUSMETAHEADER_H
#include <pshpack2.h>
typedef
struct
{
INT16
Left
;
INT16
Top
;
INT16
Right
;
INT16
Bottom
;
}
PWMFRect16
;
typedef
struct
{
UINT32
Key
;
INT16
Hmf
;
PWMFRect16
BoundingBox
;
INT16
Inch
;
UINT32
Reserved
;
INT16
Checksum
;
}
WmfPlaceableFileHeader
;
#include <poppack.h>
#endif
/* _GDIPLUSMETAHEADER_H */
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