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
b31f2250
Commit
b31f2250
authored
Apr 24, 2008
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 24, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implemented GdipGetLineColors.
parent
3d274bc1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletion
+13
-1
brush.c
dlls/gdiplus/brush.c
+11
-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 @
b31f2250
...
...
@@ -683,6 +683,17 @@ GpStatus WINGDIPAPI GdipSetLineColors(GpLineGradient *brush, ARGB color1,
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipGetLineColors
(
GpLineGradient
*
brush
,
ARGB
*
colors
)
{
if
(
!
brush
||
!
colors
)
return
InvalidParameter
;
colors
[
0
]
=
brush
->
startcolor
;
colors
[
1
]
=
brush
->
endcolor
;
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipSetLineLinearBlend
(
GpLineGradient
*
brush
,
REAL
focus
,
REAL
scale
)
{
...
...
dlls/gdiplus/gdiplus.spec
View file @
b31f2250
...
...
@@ -302,7 +302,7 @@
@ stdcall GdipGetInterpolationMode(ptr ptr)
@ stub GdipGetLineBlend
@ stub GdipGetLineBlendCount
@ st
ub GdipGetLineColors
@ st
dcall GdipGetLineColors(ptr ptr)
@ stdcall GdipGetLineGammaCorrection(ptr ptr)
@ stub GdipGetLinePresetBlend
@ stub GdipGetLinePresetBlendCount
...
...
include/gdiplusflat.h
View file @
b31f2250
...
...
@@ -159,6 +159,7 @@ GpStatus WINGDIPAPI GdipGetBrushType(GpBrush*,GpBrushType*);
GpStatus
WINGDIPAPI
GdipGetLineGammaCorrection
(
GpLineGradient
*
,
BOOL
*
);
GpStatus
WINGDIPAPI
GdipGetLineRect
(
GpLineGradient
*
,
GpRectF
*
);
GpStatus
WINGDIPAPI
GdipGetLineRectI
(
GpLineGradient
*
,
GpRect
*
);
GpStatus
WINGDIPAPI
GdipGetLineColors
(
GpLineGradient
*
,
ARGB
*
);
GpStatus
WINGDIPAPI
GdipGetPathGradientCenterColor
(
GpPathGradient
*
,
ARGB
*
);
GpStatus
WINGDIPAPI
GdipGetPathGradientCenterPoint
(
GpPathGradient
*
,
GpPointF
*
);
GpStatus
WINGDIPAPI
GdipGetPathGradientFocusScales
(
GpPathGradient
*
,
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