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
a93e61d3
Commit
a93e61d3
authored
Aug 07, 2007
by
Evan Stade
Committed by
Alexandre Julliard
Aug 08, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Added GdipSetImageAttributesColorMatrix stub.
parent
02887b6c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
1 deletion
+33
-1
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
imageattributes.c
dlls/gdiplus/imageattributes.c
+15
-0
gdipluscolormatrix.h
include/gdipluscolormatrix.h
+14
-0
gdiplusflat.h
include/gdiplusflat.h
+3
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
a93e61d3
...
...
@@ -523,7 +523,7 @@
@ stub GdipSetEmpty
@ stub GdipSetImageAttributesCachedBackground
@ stdcall GdipSetImageAttributesColorKeys(ptr long long long long)
@ st
ub GdipSetImageAttributesColorMatrix
@ st
dcall GdipSetImageAttributesColorMatrix(ptr long long ptr ptr long)
@ stub GdipSetImageAttributesGamma
@ stub GdipSetImageAttributesNoOp
@ stub GdipSetImageAttributesOutputChannel
...
...
dlls/gdiplus/imageattributes.c
View file @
a93e61d3
...
...
@@ -62,6 +62,21 @@ GpStatus WINGDIPAPI GdipSetImageAttributesColorKeys(GpImageAttributes *imageattr
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipSetImageAttributesColorMatrix
(
GpImageAttributes
*
imageattr
,
ColorAdjustType
type
,
BOOL
enableFlag
,
GDIPCONST
ColorMatrix
*
colorMatrix
,
GDIPCONST
ColorMatrix
*
grayMatrix
,
ColorMatrixFlags
flags
)
{
static
int
calls
;
if
(
!
imageattr
||
!
colorMatrix
||
!
grayMatrix
)
return
InvalidParameter
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipSetImageAttributesWrapMode
(
GpImageAttributes
*
imageAttr
,
WrapMode
wrap
,
ARGB
argb
,
BOOL
clamp
)
{
...
...
include/gdipluscolormatrix.h
View file @
a93e61d3
...
...
@@ -19,6 +19,18 @@
#ifndef _GDIPLUSCOLORMATRIX_H
#define _GDIPLUSCOLORMATRIX_H
struct
ColorMatrix
{
REAL
m
[
5
][
5
];
};
enum
ColorMatrixFlags
{
ColorMatrixFlagsDefault
=
0
,
ColorMatrixFlagsSkipGrays
=
1
,
ColorMatrixFlagsAltGray
=
2
};
enum
ColorAdjustType
{
ColorAdjustTypeDefault
,
...
...
@@ -33,6 +45,8 @@ enum ColorAdjustType
#ifndef __cplusplus
typedef
enum
ColorAdjustType
ColorAdjustType
;
typedef
enum
ColorMatrixFlags
ColorMatrixFlags
;
typedef
struct
ColorMatrix
ColorMatrix
;
#endif
/* end of c typedefs */
...
...
include/gdiplusflat.h
View file @
a93e61d3
...
...
@@ -203,6 +203,9 @@ GpStatus WINGDIPAPI GdipCreateImageAttributes(GpImageAttributes**);
GpStatus
WINGDIPAPI
GdipDisposeImageAttributes
(
GpImageAttributes
*
);
GpStatus
WINGDIPAPI
GdipSetImageAttributesColorKeys
(
GpImageAttributes
*
,
ColorAdjustType
,
BOOL
,
ARGB
,
ARGB
);
GpStatus
WINGDIPAPI
GdipSetImageAttributesColorMatrix
(
GpImageAttributes
*
,
ColorAdjustType
,
BOOL
,
GDIPCONST
ColorMatrix
*
,
GDIPCONST
ColorMatrix
*
,
ColorMatrixFlags
);
GpStatus
WINGDIPAPI
GdipSetImageAttributesWrapMode
(
GpImageAttributes
*
,
WrapMode
,
ARGB
,
BOOL
);
...
...
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