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
d0a85604
Commit
d0a85604
authored
Apr 24, 2012
by
Vincent Povirk
Committed by
Alexandre Julliard
Apr 25, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implement GdipSetPathGradientLinearBlend.
parent
b66fd440
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
4 deletions
+23
-4
brush.c
dlls/gdiplus/brush.c
+23
-4
No files found.
dlls/gdiplus/brush.c
View file @
d0a85604
...
...
@@ -1466,14 +1466,33 @@ GpStatus WINGDIPAPI GdipSetPathGradientBlend(GpPathGradient *brush, GDIPCONST RE
GpStatus
WINGDIPAPI
GdipSetPathGradientLinearBlend
(
GpPathGradient
*
brush
,
REAL
focus
,
REAL
scale
)
{
static
int
calls
;
REAL
factors
[
3
];
REAL
positions
[
3
];
int
num_points
=
0
;
TRACE
(
"(%p,%0.2f,%0.2f)
\n
"
,
brush
,
focus
,
scale
);
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
if
(
!
brush
)
return
InvalidParameter
;
return
NotImplemented
;
if
(
focus
!=
0
.
0
)
{
factors
[
num_points
]
=
0
.
0
;
positions
[
num_points
]
=
0
.
0
;
num_points
++
;
}
factors
[
num_points
]
=
scale
;
positions
[
num_points
]
=
focus
;
num_points
++
;
if
(
focus
!=
1
.
0
)
{
factors
[
num_points
]
=
0
.
0
;
positions
[
num_points
]
=
1
.
0
;
num_points
++
;
}
return
GdipSetPathGradientBlend
(
brush
,
factors
,
positions
,
num_points
);
}
GpStatus
WINGDIPAPI
GdipSetPathGradientPresetBlend
(
GpPathGradient
*
brush
,
...
...
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