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
4c5486fe
Commit
4c5486fe
authored
Jul 31, 2007
by
Evan Stade
Committed by
Alexandre Julliard
Aug 01, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implemented GdipLoadImageFromStreamICM.
parent
7b601148
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
36 additions
and
5 deletions
+36
-5
brush.c
dlls/gdiplus/brush.c
+3
-0
customlinecap.c
dlls/gdiplus/customlinecap.c
+2
-0
gdiplus.c
dlls/gdiplus/gdiplus.c
+2
-0
graphicspath.c
dlls/gdiplus/graphicspath.c
+3
-0
image.c
dlls/gdiplus/image.c
+16
-5
imageattributes.c
dlls/gdiplus/imageattributes.c
+2
-0
matrix.c
dlls/gdiplus/matrix.c
+2
-0
pathiterator.c
dlls/gdiplus/pathiterator.c
+2
-0
pen.c
dlls/gdiplus/pen.c
+3
-0
gdiplusflat.h
include/gdiplusflat.h
+1
-0
No files found.
dlls/gdiplus/brush.c
View file @
4c5486fe
...
...
@@ -18,6 +18,9 @@
#include "windef.h"
#include "wingdi.h"
#include "objbase.h"
#include "gdiplus.h"
#include "gdiplus_private.h"
...
...
dlls/gdiplus/customlinecap.c
View file @
4c5486fe
...
...
@@ -22,6 +22,8 @@
#include "winbase.h"
#include "wingdi.h"
#include "objbase.h"
#include "gdiplus.h"
#include "gdiplus_private.h"
#include "wine/debug.h"
...
...
dlls/gdiplus/gdiplus.c
View file @
4c5486fe
...
...
@@ -25,6 +25,8 @@
#include "wine/debug.h"
#include "wingdi.h"
#include "objbase.h"
#include "gdiplus.h"
#include "gdiplus_private.h"
...
...
dlls/gdiplus/graphicspath.c
View file @
4c5486fe
...
...
@@ -24,6 +24,9 @@
#include "winbase.h"
#include "winuser.h"
#include "wingdi.h"
#include "objbase.h"
#include "gdiplus.h"
#include "gdiplus_private.h"
#include "wine/debug.h"
...
...
dlls/gdiplus/image.c
View file @
4c5486fe
...
...
@@ -20,10 +20,12 @@
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
#include "wingdi.h"
#define COBJMACROS
#include "objbase.h"
#include "olectl.h"
#include "gdiplus.h"
#include "gdiplus_private.h"
...
...
@@ -172,15 +174,24 @@ GpStatus WINGDIPAPI GdipImageGetFrameCount(GpImage *image,
return
NotImplemented
;
}
/* FIXME: no ICM */
GpStatus
WINGDIPAPI
GdipLoadImageFromStreamICM
(
IStream
*
stream
,
GpImage
**
image
)
{
static
int
calls
;
if
(
!
stream
||
!
image
)
return
InvalidParameter
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
)
;
*
image
=
GdipAlloc
(
sizeof
(
GpImage
));
if
(
!*
image
)
return
OutOfMemory
;
return
NotImplemented
;
if
(
OleLoadPicture
(
stream
,
0
,
FALSE
,
&
IID_IPicture
,
(
LPVOID
*
)
&
((
*
image
)
->
picture
))
!=
S_OK
){
TRACE
(
"Could not load picture
\n
"
);
GdipFree
(
*
image
);
return
GenericError
;
}
/* FIXME: use IPicture_get_Type to get image type */
(
*
image
)
->
type
=
ImageTypeUnknown
;
return
Ok
;
}
dlls/gdiplus/imageattributes.c
View file @
4c5486fe
...
...
@@ -19,6 +19,8 @@
#include "windef.h"
#include "wingdi.h"
#include "objbase.h"
#include "gdiplus.h"
#include "gdiplus_private.h"
#include "wine/debug.h"
...
...
dlls/gdiplus/matrix.c
View file @
4c5486fe
...
...
@@ -23,6 +23,8 @@
#include "winbase.h"
#include "wingdi.h"
#include "objbase.h"
#include "gdiplus.h"
#include "gdiplus_private.h"
...
...
dlls/gdiplus/pathiterator.c
View file @
4c5486fe
...
...
@@ -22,6 +22,8 @@
#include "winbase.h"
#include "wingdi.h"
#include "objbase.h"
#include "gdiplus.h"
#include "gdiplus_private.h"
...
...
dlls/gdiplus/pen.c
View file @
4c5486fe
...
...
@@ -21,6 +21,9 @@
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "objbase.h"
#include "gdiplus.h"
#include "gdiplus_private.h"
#include "wine/debug.h"
...
...
include/gdiplusflat.h
View file @
4c5486fe
...
...
@@ -148,6 +148,7 @@ GpStatus WINGDIPAPI GdipGetImageVerticalResolution(GpImage*,REAL*);
GpStatus
WINGDIPAPI
GdipGetImageWidth
(
GpImage
*
,
UINT
*
);
GpStatus
WINGDIPAPI
GdipGetMetafileHeaderFromMetafile
(
GpMetafile
*
,
MetafileHeader
*
);
GpStatus
WINGDIPAPI
GdipImageGetFrameCount
(
GpImage
*
,
GDIPCONST
GUID
*
,
UINT
*
);
GpStatus
WINGDIPAPI
GdipLoadImageFromStreamICM
(
IStream
*
,
GpImage
**
);
GpStatus
WINGDIPAPI
GdipCreateImageAttributes
(
GpImageAttributes
**
);
GpStatus
WINGDIPAPI
GdipDisposeImageAttributes
(
GpImageAttributes
*
);
...
...
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