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
f2cf5551
Commit
f2cf5551
authored
Aug 01, 2007
by
Evan Stade
Committed by
Alexandre Julliard
Aug 02, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Added GdipSetPathGradientCenterColor.
parent
f18cdef7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
1 deletion
+17
-1
brush.c
dlls/gdiplus/brush.c
+15
-0
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
gdiplusflat.h
include/gdiplusflat.h
+1
-0
No files found.
dlls/gdiplus/brush.c
View file @
f2cf5551
...
...
@@ -120,6 +120,21 @@ GpStatus WINGDIPAPI GdipGetSolidFillColor(GpSolidFill *sf, ARGB *argb)
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipSetPathGradientCenterColor
(
GpPathGradient
*
grad
,
ARGB
argb
)
{
if
(
!
grad
)
return
InvalidParameter
;
grad
->
centercolor
=
argb
;
grad
->
brush
.
lb
.
lbColor
=
ARGB2COLORREF
(
argb
);
DeleteObject
(
grad
->
brush
.
gdibrush
);
grad
->
brush
.
gdibrush
=
CreateSolidBrush
(
grad
->
brush
.
lb
.
lbColor
);
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipSetSolidFillColor
(
GpSolidFill
*
sf
,
ARGB
argb
)
{
if
(
!
sf
)
...
...
dlls/gdiplus/gdiplus.spec
View file @
f2cf5551
...
...
@@ -549,7 +549,7 @@
@ stdcall GdipSetPageUnit(ptr long)
@ stdcall GdipSetPathFillMode(ptr long)
@ stub GdipSetPathGradientBlend
@ st
ub GdipSetPathGradientCenterColor
@ st
dcall GdipSetPathGradientCenterColor(ptr long)
@ stub GdipSetPathGradientCenterPoint
@ stub GdipSetPathGradientCenterPointI
@ stub GdipSetPathGradientFocusScales
...
...
include/gdiplusflat.h
View file @
f2cf5551
...
...
@@ -94,6 +94,7 @@ GpStatus WINGDIPAPI GdipCreateSolidFill(ARGB,GpSolidFill**);
GpStatus
WINGDIPAPI
GdipGetBrushType
(
GpBrush
*
,
GpBrushType
*
);
GpStatus
WINGDIPAPI
GdipDeleteBrush
(
GpBrush
*
);
GpStatus
WINGDIPAPI
GdipGetSolidFillColor
(
GpSolidFill
*
,
ARGB
*
);
GpStatus
WINGDIPAPI
GdipSetPathGradientCenterColor
(
GpPathGradient
*
,
ARGB
);
GpStatus
WINGDIPAPI
GdipSetSolidFillColor
(
GpSolidFill
*
,
ARGB
);
GpStatus
WINGDIPAPI
GdipAddPathArc
(
GpPath
*
,
REAL
,
REAL
,
REAL
,
REAL
,
REAL
,
REAL
);
...
...
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