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
47a81f5a
Commit
47a81f5a
authored
Apr 28, 2009
by
Vincent Povirk
Committed by
Alexandre Julliard
Apr 29, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implement GdipGetLineBlend.
parent
1e88ee50
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
brush.c
dlls/gdiplus/brush.c
+9
-5
No files found.
dlls/gdiplus/brush.c
View file @
47a81f5a
...
...
@@ -1151,14 +1151,18 @@ GpStatus WINGDIPAPI GdipSetLineBlend(GpLineGradient *brush,
GpStatus
WINGDIPAPI
GdipGetLineBlend
(
GpLineGradient
*
brush
,
REAL
*
factors
,
REAL
*
positions
,
INT
count
)
{
static
int
calls
;
TRACE
(
"(%p, %p, %p, %i)
\n
"
,
brush
,
factors
,
positions
,
count
);
if
(
!
(
calls
++
)
)
FIXME
(
"not implemented
\n
"
)
;
if
(
!
brush
||
!
factors
||
!
positions
||
count
<=
0
)
return
InvalidParameter
;
return
NotImplemented
;
if
(
count
<
brush
->
blendcount
)
return
InsufficientBuffer
;
memcpy
(
factors
,
brush
->
blendfac
,
brush
->
blendcount
*
sizeof
(
REAL
));
memcpy
(
positions
,
brush
->
blendpos
,
brush
->
blendcount
*
sizeof
(
REAL
));
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipGetLineBlendCount
(
GpLineGradient
*
brush
,
INT
*
count
)
...
...
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