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
37657bc4
Commit
37657bc4
authored
Aug 07, 2007
by
Evan Stade
Committed by
Alexandre Julliard
Aug 08, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Added GdipSetLineWrapMode.
parent
2b438a02
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
2 deletions
+14
-2
brush.c
dlls/gdiplus/brush.c
+12
-1
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
gdiplusflat.h
include/gdiplusflat.h
+1
-0
No files found.
dlls/gdiplus/brush.c
View file @
37657bc4
...
...
@@ -83,7 +83,7 @@ GpStatus WINGDIPAPI GdipCreateLineBrush(GDIPCONST GpPointF* startpoint,
{
COLORREF
col
=
ARGB2COLORREF
(
startcolor
);
if
(
!
line
||
!
startpoint
||
!
endpoint
)
if
(
!
line
||
!
startpoint
||
!
endpoint
||
wrap
==
WrapModeClamp
)
return
InvalidParameter
;
*
line
=
GdipAlloc
(
sizeof
(
GpLineGradient
));
...
...
@@ -316,6 +316,17 @@ GpStatus WINGDIPAPI GdipGetSolidFillColor(GpSolidFill *sf, ARGB *argb)
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipSetLineWrapMode
(
GpLineGradient
*
line
,
GpWrapMode
wrap
)
{
if
(
!
line
||
wrap
==
WrapModeClamp
)
return
InvalidParameter
;
line
->
wrap
=
wrap
;
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipSetPathGradientCenterColor
(
GpPathGradient
*
grad
,
ARGB
argb
)
{
...
...
dlls/gdiplus/gdiplus.spec
View file @
37657bc4
...
...
@@ -542,7 +542,7 @@
@ stub GdipSetLinePresetBlend
@ stub GdipSetLineSigmaBlend
@ stub GdipSetLineTransform
@ st
ub GdipSetLineWrapMode
@ st
dcall GdipSetLineWrapMode(ptr long)
@ stdcall GdipSetMatrixElements(ptr long long long long long long)
@ stub GdipSetMetafileDownLevelRasterizationLimit
@ stdcall GdipSetPageScale(ptr long)
...
...
include/gdiplusflat.h
View file @
37657bc4
...
...
@@ -106,6 +106,7 @@ GpStatus WINGDIPAPI GdipGetPathGradientPointCount(GpPathGradient*,INT*);
GpStatus
WINGDIPAPI
GdipGetPathGradientSurroundColorsWithCount
(
GpPathGradient
*
,
ARGB
*
,
INT
*
);
GpStatus
WINGDIPAPI
GdipGetSolidFillColor
(
GpSolidFill
*
,
ARGB
*
);
GpStatus
WINGDIPAPI
GdipSetLineWrapMode
(
GpLineGradient
*
,
GpWrapMode
);
GpStatus
WINGDIPAPI
GdipSetPathGradientCenterColor
(
GpPathGradient
*
,
ARGB
);
GpStatus
WINGDIPAPI
GdipSetPathGradientCenterPoint
(
GpPathGradient
*
,
GpPointF
*
);
GpStatus
WINGDIPAPI
GdipSetPathGradientFocusScales
(
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