Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Louis Lenders
wine
Commits
f8b2b77f
Commit
f8b2b77f
authored
17 years ago
by
Evan Stade
Committed by
Alexandre Julliard
17 years ago
Browse files
Options
Downloads
Patches
Plain Diff
gdiplus: Added GdipConvertToEmfPlus stub.
parent
795b6221
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
dlls/gdiplus/gdiplus.spec
+1
-1
1 addition, 1 deletion
dlls/gdiplus/gdiplus.spec
dlls/gdiplus/image.c
+18
-0
18 additions, 0 deletions
dlls/gdiplus/image.c
include/gdiplusenums.h
+8
-0
8 additions, 0 deletions
include/gdiplusenums.h
include/gdiplusflat.h
+2
-0
2 additions, 0 deletions
include/gdiplusflat.h
with
29 additions
and
1 deletion
dlls/gdiplus/gdiplus.spec
+
1
−
1
View file @
f8b2b77f
...
...
@@ -66,7 +66,7 @@
@ stub GdipCombineRegionRectI
@ stub GdipCombineRegionRegion
@ stub GdipComment
@ st
ub
GdipConvertToEmfPlus
@ st
dcall
GdipConvertToEmfPlus
(ptr ptr ptr long ptr ptr)
@ stub GdipConvertToEmfPlusToFile
@ stub GdipConvertToEmfPlusToStream
@ stub GdipCreateAdjustableArrowCap
...
...
This diff is collapsed.
Click to expand it.
dlls/gdiplus/image.c
+
18
−
0
View file @
f8b2b77f
...
...
@@ -255,6 +255,24 @@ GpStatus WINGDIPAPI GdipCreateBitmapFromFile(GDIPCONST WCHAR* filename,
return
stat
;
}
GpStatus
WINGDIPAPI
GdipConvertToEmfPlus
(
const
GpGraphics
*
ref
,
GpMetafile
*
metafile
,
BOOL
*
succ
,
EmfType
emfType
,
const
WCHAR
*
description
,
GpMetafile
**
out_metafile
)
{
static
int
calls
;
if
(
!
ref
||
!
metafile
||
!
out_metafile
)
return
InvalidParameter
;
*
succ
=
FALSE
;
*
out_metafile
=
NULL
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
NotImplemented
;
}
/* FIXME: this should create a bitmap in the given size with the attributes
* (resolution etc.) of the graphics object */
GpStatus
WINGDIPAPI
GdipCreateBitmapFromGraphics
(
INT
width
,
INT
height
,
...
...
This diff is collapsed.
Click to expand it.
include/gdiplusenums.h
+
8
−
0
View file @
f8b2b77f
...
...
@@ -191,6 +191,13 @@ enum LinearGradientMode
LinearGradientModeBackwardDiagonal
};
enum
EmfType
{
EmfTypeEmfOnly
=
MetafileTypeEmf
,
EmfTypeEmfPlusOnly
=
MetafileTypeEmfPlusOnly
,
EmfTypeEmfPlusDual
=
MetafileTypeEmfPlusDual
};
#ifndef __cplusplus
typedef
enum
Unit
Unit
;
...
...
@@ -211,6 +218,7 @@ typedef enum ImageType ImageType;
typedef
enum
WrapMode
WrapMode
;
typedef
enum
MetafileType
MetafileType
;
typedef
enum
LinearGradientMode
LinearGradientMode
;
typedef
enum
EmfType
EmfType
;
#endif
/* end of c typedefs */
...
...
This diff is collapsed.
Click to expand it.
include/gdiplusflat.h
+
2
−
0
View file @
f8b2b77f
...
...
@@ -191,6 +191,8 @@ GpStatus WINGDIPAPI GdipSetCustomLineCapStrokeCaps(GpCustomLineCap*,GpLineCap,
GpStatus
WINGDIPAPI
GdipBitmapGetPixel
(
GpBitmap
*
,
INT
,
INT
,
ARGB
*
);
GpStatus
WINGDIPAPI
GdipBitmapLockBits
(
GpBitmap
*
,
GDIPCONST
GpRect
*
,
UINT
,
PixelFormat
,
BitmapData
*
);
GpStatus
WINGDIPAPI
GdipConvertToEmfPlus
(
const
GpGraphics
*
,
GpMetafile
*
,
BOOL
*
,
EmfType
,
const
WCHAR
*
,
GpMetafile
**
);
GpStatus
WINGDIPAPI
GdipCreateBitmapFromFile
(
GDIPCONST
WCHAR
*
,
GpBitmap
**
);
GpStatus
WINGDIPAPI
GdipCreateBitmapFromGraphics
(
INT
,
INT
,
GpGraphics
*
,
GpBitmap
**
);
GpStatus
WINGDIPAPI
GdipCreateBitmapFromScan0
(
INT
,
INT
,
INT
,
PixelFormat
,
BYTE
*
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment