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
03af4ed3
Commit
03af4ed3
authored
Aug 02, 2007
by
Evan Stade
Committed by
Alexandre Julliard
Aug 03, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Added GdipS/GetPathGradientSurroundColorsWithCount stubs.
parent
b26d7ce8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
2 deletions
+35
-2
brush.c
dlls/gdiplus/brush.c
+29
-0
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+2
-2
gdiplusflat.h
include/gdiplusflat.h
+4
-0
No files found.
dlls/gdiplus/brush.c
View file @
03af4ed3
...
...
@@ -177,6 +177,20 @@ GpStatus WINGDIPAPI GdipGetPathGradientPointCount(GpPathGradient *grad,
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipGetPathGradientSurroundColorsWithCount
(
GpPathGradient
*
grad
,
ARGB
*
argb
,
INT
*
count
)
{
static
int
calls
;
if
(
!
grad
||
!
argb
||
!
count
||
(
*
count
<
grad
->
pathdata
.
Count
))
return
InvalidParameter
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipGetSolidFillColor
(
GpSolidFill
*
sf
,
ARGB
*
argb
)
{
if
(
!
sf
||
!
argb
)
...
...
@@ -202,6 +216,21 @@ GpStatus WINGDIPAPI GdipSetPathGradientCenterColor(GpPathGradient *grad,
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipSetPathGradientSurroundColorsWithCount
(
GpPathGradient
*
grad
,
ARGB
*
argb
,
INT
*
count
)
{
static
int
calls
;
if
(
!
grad
||
!
argb
||
!
count
||
(
*
count
<=
0
)
||
(
*
count
>
grad
->
pathdata
.
Count
))
return
InvalidParameter
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipSetPathGradientWrapMode
(
GpPathGradient
*
grad
,
GpWrapMode
wrap
)
{
...
...
dlls/gdiplus/gdiplus.spec
View file @
03af4ed3
...
...
@@ -339,7 +339,7 @@
@ stub GdipGetPathGradientRect
@ stub GdipGetPathGradientRectI
@ stub GdipGetPathGradientSurroundColorCount
@ st
ub GdipGetPathGradientSurroundColorsWithCount
@ st
dcall GdipGetPathGradientSurroundColorsWithCount(ptr ptr ptr)
@ stub GdipGetPathGradientTransform
@ stub GdipGetPathGradientWrapMode
@ stub GdipGetPathLastPoint
...
...
@@ -558,7 +558,7 @@
@ stub GdipSetPathGradientPath
@ stub GdipSetPathGradientPresetBlend
@ stub GdipSetPathGradientSigmaBlend
@ st
ub GdipSetPathGradientSurroundColorsWithCount
@ st
dcall GdipSetPathGradientSurroundColorsWithCount(ptr ptr ptr)
@ stub GdipSetPathGradientTransform
@ stdcall GdipSetPathGradientWrapMode(ptr long)
@ stub GdipSetPathMarker
...
...
include/gdiplusflat.h
View file @
03af4ed3
...
...
@@ -95,9 +95,13 @@ GpStatus WINGDIPAPI GdipCreatePathGradientFromPath(GDIPCONST GpPath*,
GpStatus
WINGDIPAPI
GdipCreateSolidFill
(
ARGB
,
GpSolidFill
**
);
GpStatus
WINGDIPAPI
GdipGetBrushType
(
GpBrush
*
,
GpBrushType
*
);
GpStatus
WINGDIPAPI
GdipGetPathGradientPointCount
(
GpPathGradient
*
,
INT
*
);
GpStatus
WINGDIPAPI
GdipGetPathGradientSurroundColorsWithCount
(
GpPathGradient
*
,
ARGB
*
,
INT
*
);
GpStatus
WINGDIPAPI
GdipDeleteBrush
(
GpBrush
*
);
GpStatus
WINGDIPAPI
GdipGetSolidFillColor
(
GpSolidFill
*
,
ARGB
*
);
GpStatus
WINGDIPAPI
GdipSetPathGradientCenterColor
(
GpPathGradient
*
,
ARGB
);
GpStatus
WINGDIPAPI
GdipSetPathGradientSurroundColorsWithCount
(
GpPathGradient
*
,
ARGB
*
,
INT
*
);
GpStatus
WINGDIPAPI
GdipSetPathGradientWrapMode
(
GpPathGradient
*
,
GpWrapMode
);
GpStatus
WINGDIPAPI
GdipSetSolidFillColor
(
GpSolidFill
*
,
ARGB
);
...
...
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