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
0679e977
Commit
0679e977
authored
Apr 21, 2008
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: GdipCreateLineBrushI implemented using float args version.
parent
172389e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletion
+19
-1
brush.c
dlls/gdiplus/brush.c
+18
-0
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
No files found.
dlls/gdiplus/brush.c
View file @
0679e977
...
...
@@ -131,6 +131,24 @@ GpStatus WINGDIPAPI GdipCreateLineBrush(GDIPCONST GpPointF* startpoint,
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipCreateLineBrushI
(
GDIPCONST
GpPoint
*
startpoint
,
GDIPCONST
GpPoint
*
endpoint
,
ARGB
startcolor
,
ARGB
endcolor
,
GpWrapMode
wrap
,
GpLineGradient
**
line
)
{
GpPointF
stF
;
GpPointF
endF
;
if
(
!
startpoint
||
!
endpoint
)
return
InvalidParameter
;
stF
.
X
=
(
REAL
)
startpoint
->
X
;
stF
.
Y
=
(
REAL
)
startpoint
->
Y
;
endF
.
X
=
(
REAL
)
endpoint
->
X
;
endF
.
X
=
(
REAL
)
endpoint
->
Y
;
return
GdipCreateLineBrush
(
&
stF
,
&
endF
,
startcolor
,
endcolor
,
wrap
,
line
);
}
GpStatus
WINGDIPAPI
GdipCreateLineBrushFromRectI
(
GDIPCONST
GpRect
*
rect
,
ARGB
startcolor
,
ARGB
endcolor
,
LinearGradientMode
mode
,
GpWrapMode
wrap
,
GpLineGradient
**
line
)
...
...
dlls/gdiplus/gdiplus.spec
View file @
0679e977
...
...
@@ -103,7 +103,7 @@
@ stdcall GdipCreateLineBrushFromRectI(ptr long long long long ptr)
@ stub GdipCreateLineBrushFromRectWithAngle
@ stub GdipCreateLineBrushFromRectWithAngleI
@ st
ub GdipCreateLineBrushI
@ st
dcall GdipCreateLineBrushI(ptr ptr long long long ptr)
@ stdcall GdipCreateMatrix2(long long long long long long ptr)
@ stdcall GdipCreateMatrix3(ptr ptr ptr)
@ stdcall GdipCreateMatrix3I(ptr ptr ptr)
...
...
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