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
f0dbfe95
Commit
f0dbfe95
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 GdipSetPathGradientWrapMode.
parent
f2cf5551
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
1 deletion
+16
-1
brush.c
dlls/gdiplus/brush.c
+12
-0
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
gdiplus_private.h
dlls/gdiplus/gdiplus_private.h
+1
-0
gdiplusflat.h
include/gdiplusflat.h
+1
-0
gdiplusgpstubs.h
include/gdiplusgpstubs.h
+1
-0
No files found.
dlls/gdiplus/brush.c
View file @
f0dbfe95
...
...
@@ -67,6 +67,7 @@ GpStatus WINGDIPAPI GdipCreatePathGradientFromPath(GDIPCONST GpPath* path,
(
*
grad
)
->
brush
.
gdibrush
=
CreateSolidBrush
(
col
);
(
*
grad
)
->
brush
.
bt
=
BrushTypeSolidColor
;
(
*
grad
)
->
centercolor
=
0xffffffff
;
(
*
grad
)
->
wrap
=
WrapModeClamp
;
return
Ok
;
}
...
...
@@ -135,6 +136,17 @@ GpStatus WINGDIPAPI GdipSetPathGradientCenterColor(GpPathGradient *grad,
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipSetPathGradientWrapMode
(
GpPathGradient
*
grad
,
GpWrapMode
wrap
)
{
if
(
!
grad
)
return
InvalidParameter
;
grad
->
wrap
=
wrap
;
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipSetSolidFillColor
(
GpSolidFill
*
sf
,
ARGB
argb
)
{
if
(
!
sf
)
...
...
dlls/gdiplus/gdiplus.spec
View file @
f0dbfe95
...
...
@@ -560,7 +560,7 @@
@ stub GdipSetPathGradientSigmaBlend
@ stub GdipSetPathGradientSurroundColorsWithCount
@ stub GdipSetPathGradientTransform
@ st
ub GdipSetPathGradientWrapMode
@ st
dcall GdipSetPathGradientWrapMode(ptr long)
@ stub GdipSetPathMarker
@ stdcall GdipSetPenBrushFill(ptr ptr)
@ stdcall GdipSetPenColor(ptr long)
...
...
dlls/gdiplus/gdiplus_private.h
View file @
f0dbfe95
...
...
@@ -95,6 +95,7 @@ struct GpSolidFill{
struct
GpPathGradient
{
GpBrush
brush
;
ARGB
centercolor
;
GpWrapMode
wrap
;
};
struct
GpPath
{
...
...
include/gdiplusflat.h
View file @
f0dbfe95
...
...
@@ -95,6 +95,7 @@ GpStatus WINGDIPAPI GdipGetBrushType(GpBrush*,GpBrushType*);
GpStatus
WINGDIPAPI
GdipDeleteBrush
(
GpBrush
*
);
GpStatus
WINGDIPAPI
GdipGetSolidFillColor
(
GpSolidFill
*
,
ARGB
*
);
GpStatus
WINGDIPAPI
GdipSetPathGradientCenterColor
(
GpPathGradient
*
,
ARGB
);
GpStatus
WINGDIPAPI
GdipSetPathGradientWrapMode
(
GpPathGradient
*
,
GpWrapMode
);
GpStatus
WINGDIPAPI
GdipSetSolidFillColor
(
GpSolidFill
*
,
ARGB
);
GpStatus
WINGDIPAPI
GdipAddPathArc
(
GpPath
*
,
REAL
,
REAL
,
REAL
,
REAL
,
REAL
,
REAL
);
...
...
include/gdiplusgpstubs.h
View file @
f0dbfe95
...
...
@@ -66,5 +66,6 @@ typedef DashCap GpDashCap;
typedef
DashStyle
GpDashStyle
;
typedef
MatrixOrder
GpMatrixOrder
;
typedef
Point
GpPoint
;
typedef
WrapMode
GpWrapMode
;
#endif
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