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
8770b6e8
Commit
8770b6e8
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 GdipGetImageType stub.
parent
b0acdb83
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
1 deletion
+23
-1
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
image.c
dlls/gdiplus/image.c
+13
-0
gdiplusenums.h
include/gdiplusenums.h
+8
-0
gdiplusflat.h
include/gdiplusflat.h
+1
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
8770b6e8
...
...
@@ -280,7 +280,7 @@
@ stub GdipGetImagePixelFormat
@ stdcall GdipGetImageRawFormat(ptr ptr)
@ stub GdipGetImageThumbnail
@ st
ub GdipGetImageType
@ st
dcall GdipGetImageType(ptr ptr)
@ stdcall GdipGetImageVerticalResolution(ptr ptr)
@ stdcall GdipGetImageWidth(ptr ptr)
@ stdcall GdipGetInterpolationMode(ptr ptr)
...
...
dlls/gdiplus/image.c
View file @
8770b6e8
...
...
@@ -63,6 +63,19 @@ GpStatus WINGDIPAPI GdipGetImageRawFormat(GpImage *image, GUID *format)
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipGetImageType
(
GpImage
*
image
,
ImageType
*
type
)
{
static
int
calls
;
if
(
!
image
||
!
type
)
return
InvalidParameter
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipGetImageVerticalResolution
(
GpImage
*
image
,
REAL
*
res
)
{
static
int
calls
;
...
...
include/gdiplusenums.h
View file @
8770b6e8
...
...
@@ -157,6 +157,13 @@ enum MatrixOrder
MatrixOrderAppend
=
1
};
enum
ImageType
{
ImageTypeUnknown
,
ImageTypeBitmap
,
ImageTypeMetafile
};
#ifndef __cplusplus
typedef
enum
Unit
Unit
;
...
...
@@ -173,6 +180,7 @@ typedef enum PixelOffsetMode PixelOffsetMode;
typedef
enum
DashCap
DashCap
;
typedef
enum
DashStyle
DashStyle
;
typedef
enum
MatrixOrder
MatrixOrder
;
typedef
enum
ImageType
ImageType
;
#endif
/* end of c typedefs */
...
...
include/gdiplusflat.h
View file @
8770b6e8
...
...
@@ -129,6 +129,7 @@ GpStatus WINGDIPAPI GdipDeleteCustomLineCap(GpCustomLineCap*);
GpStatus
WINGDIPAPI
GdipGetImageHeight
(
GpImage
*
,
UINT
*
);
GpStatus
WINGDIPAPI
GdipGetImageHorizontalResolution
(
GpImage
*
,
REAL
*
);
GpStatus
WINGDIPAPI
GdipGetImageRawFormat
(
GpImage
*
,
GUID
*
);
GpStatus
WINGDIPAPI
GdipGetImageType
(
GpImage
*
,
ImageType
*
);
GpStatus
WINGDIPAPI
GdipGetImageVerticalResolution
(
GpImage
*
,
REAL
*
);
GpStatus
WINGDIPAPI
GdipGetImageWidth
(
GpImage
*
,
UINT
*
);
GpStatus
WINGDIPAPI
GdipImageGetFrameCount
(
GpImage
*
,
GDIPCONST
GUID
*
,
UINT
*
);
...
...
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