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
c2de38ea
Commit
c2de38ea
authored
Sep 08, 2008
by
Nikolay Sivov
Committed by
Alexandre Julliard
Sep 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Added missed stubs for Image metadata access.
parent
cda96c05
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
74 additions
and
5 deletions
+74
-5
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+5
-5
image.c
dlls/gdiplus/image.c
+62
-0
gdiplusflat.h
include/gdiplusflat.h
+7
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
c2de38ea
...
...
@@ -370,11 +370,11 @@
@ stdcall GdipGetPenWidth(ptr ptr)
@ stdcall GdipGetPixelOffsetMode(ptr ptr)
@ stdcall GdipGetPointCount(ptr ptr)
@ st
ub GdipGetPropertyCount
@ st
ub GdipGetPropertyIdList
@ st
ub GdipGetPropertyItem
@ st
dcall GdipGetPropertyCount(ptr ptr)
@ st
dcall GdipGetPropertyIdList(ptr long ptr)
@ st
dcall GdipGetPropertyItem(ptr long long ptr)
@ stdcall GdipGetPropertyItemSize(ptr long ptr)
@ st
ub GdipGetPropertySize
@ st
dcall GdipGetPropertySize(ptr ptr ptr)
@ stdcall GdipGetRegionBounds(ptr ptr ptr)
@ stdcall GdipGetRegionBoundsI(ptr ptr ptr)
@ stdcall GdipGetRegionData(ptr ptr long ptr)
...
...
@@ -581,7 +581,7 @@
@ stub GdipSetPenUnit
@ stdcall GdipSetPenWidth(ptr long)
@ stdcall GdipSetPixelOffsetMode(ptr long)
@ st
ub GdipSetPropertyItem
@ st
dcall GdipSetPropertyItem(ptr ptr)
@ stub GdipSetRenderingOrigin
@ stdcall GdipSetSmoothingMode(ptr long)
@ stdcall GdipSetSolidFillColor(ptr ptr)
...
...
dlls/gdiplus/image.c
View file @
c2de38ea
...
...
@@ -767,6 +767,48 @@ GpStatus WINGDIPAPI GdipGetMetafileHeaderFromMetafile(GpMetafile * metafile,
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipGetAllPropertyItems
(
GpImage
*
image
,
UINT
size
,
UINT
num
,
PropertyItem
*
items
)
{
static
int
calls
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
InvalidParameter
;
}
GpStatus
WINGDIPAPI
GdipGetPropertyCount
(
GpImage
*
image
,
UINT
*
num
)
{
static
int
calls
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
InvalidParameter
;
}
GpStatus
WINGDIPAPI
GdipGetPropertyIdList
(
GpImage
*
image
,
UINT
num
,
PROPID
*
list
)
{
static
int
calls
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
InvalidParameter
;
}
GpStatus
WINGDIPAPI
GdipGetPropertyItem
(
GpImage
*
image
,
PROPID
id
,
UINT
size
,
PropertyItem
*
buffer
)
{
static
int
calls
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
InvalidParameter
;
}
GpStatus
WINGDIPAPI
GdipGetPropertyItemSize
(
GpImage
*
image
,
PROPID
pid
,
UINT
*
size
)
{
...
...
@@ -783,6 +825,16 @@ GpStatus WINGDIPAPI GdipGetPropertyItemSize(GpImage *image, PROPID pid,
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipGetPropertySize
(
GpImage
*
image
,
UINT
*
size
,
UINT
*
num
)
{
static
int
calls
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
InvalidParameter
;
}
GpStatus
WINGDIPAPI
GdipImageGetFrameCount
(
GpImage
*
image
,
GDIPCONST
GUID
*
dimensionID
,
UINT
*
count
)
{
...
...
@@ -952,6 +1004,16 @@ GpStatus WINGDIPAPI GdipRemovePropertyItem(GpImage *image, PROPID propId)
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipSetPropertyItem
(
GpImage
*
image
,
GDIPCONST
PropertyItem
*
item
)
{
static
int
calls
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipSaveImageToFile
(
GpImage
*
image
,
GDIPCONST
WCHAR
*
filename
,
GDIPCONST
CLSID
*
clsidEncoder
,
GDIPCONST
EncoderParameters
*
encoderParams
)
...
...
include/gdiplusflat.h
View file @
c2de38ea
...
...
@@ -403,7 +403,14 @@ GpStatus WINGDIPAPI GdipGetMetafileHeaderFromFile(GDIPCONST WCHAR*,MetafileHeade
GpStatus
WINGDIPAPI
GdipGetMetafileHeaderFromMetafile
(
GpMetafile
*
,
MetafileHeader
*
);
GpStatus
WINGDIPAPI
GdipGetMetafileHeaderFromStream
(
IStream
*
,
MetafileHeader
*
);
GpStatus
WINGDIPAPI
GdipGetMetafileHeaderFromWmf
(
HMETAFILE
,
GDIPCONST
WmfPlaceableFileHeader
*
,
MetafileHeader
*
);
GpStatus
WINGDIPAPI
GdipGetPropertyCount
(
GpImage
*
,
UINT
*
);
GpStatus
WINGDIPAPI
GdipGetPropertyIdList
(
GpImage
*
,
UINT
,
PROPID
*
);
GpStatus
WINGDIPAPI
GdipGetPropertyItem
(
GpImage
*
,
PROPID
,
UINT
,
PropertyItem
*
);
GpStatus
WINGDIPAPI
GdipGetPropertyItemSize
(
GpImage
*
,
PROPID
,
UINT
*
);
GpStatus
WINGDIPAPI
GdipGetPropertySize
(
GpImage
*
,
UINT
*
,
UINT
*
);
GpStatus
WINGDIPAPI
GdipGetAllPropertyItems
(
GpImage
*
,
UINT
,
UINT
,
PropertyItem
*
);
GpStatus
WINGDIPAPI
GdipRemovePropertyItem
(
GpImage
*
,
PROPID
);
GpStatus
WINGDIPAPI
GdipSetPropertyItem
(
GpImage
*
,
GDIPCONST
PropertyItem
*
);
GpStatus
WINGDIPAPI
GdipImageGetFrameCount
(
GpImage
*
,
GDIPCONST
GUID
*
,
UINT
*
);
GpStatus
WINGDIPAPI
GdipImageGetFrameDimensionsCount
(
GpImage
*
,
UINT
*
);
GpStatus
WINGDIPAPI
GdipImageGetFrameDimensionsList
(
GpImage
*
,
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