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
9cce7898
Commit
9cce7898
authored
Apr 29, 2008
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 29, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implemented GdipGetPathGradientCenterPointI.
parent
d5769957
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
1 deletion
+21
-1
brush.c
dlls/gdiplus/brush.c
+19
-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 @
9cce7898
...
...
@@ -488,6 +488,25 @@ GpStatus WINGDIPAPI GdipGetPathGradientCenterPoint(GpPathGradient *grad,
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipGetPathGradientCenterPointI
(
GpPathGradient
*
grad
,
GpPoint
*
point
)
{
GpStatus
ret
;
GpPointF
ptf
;
if
(
!
point
)
return
InvalidParameter
;
ret
=
GdipGetPathGradientCenterPoint
(
grad
,
&
ptf
);
if
(
ret
==
Ok
){
point
->
X
=
roundr
(
ptf
.
X
);
point
->
Y
=
roundr
(
ptf
.
Y
);
}
return
ret
;
}
GpStatus
WINGDIPAPI
GdipGetPathGradientFocusScales
(
GpPathGradient
*
grad
,
REAL
*
x
,
REAL
*
y
)
{
...
...
dlls/gdiplus/gdiplus.spec
View file @
9cce7898
...
...
@@ -329,7 +329,7 @@
@ stub GdipGetPathGradientBlendCount
@ stub GdipGetPathGradientCenterColor
@ stdcall GdipGetPathGradientCenterPoint(ptr ptr)
@ st
ub GdipGetPathGradientCenterPointI
@ st
dcall GdipGetPathGradientCenterPointI(ptr ptr)
@ stdcall GdipGetPathGradientFocusScales(ptr ptr ptr)
@ stdcall GdipGetPathGradientGammaCorrection(ptr ptr)
@ stub GdipGetPathGradientPath
...
...
include/gdiplusflat.h
View file @
9cce7898
...
...
@@ -169,6 +169,7 @@ GpStatus WINGDIPAPI GdipGetLineRectI(GpLineGradient*,GpRect*);
GpStatus
WINGDIPAPI
GdipGetLineColors
(
GpLineGradient
*
,
ARGB
*
);
GpStatus
WINGDIPAPI
GdipGetPathGradientCenterColor
(
GpPathGradient
*
,
ARGB
*
);
GpStatus
WINGDIPAPI
GdipGetPathGradientCenterPoint
(
GpPathGradient
*
,
GpPointF
*
);
GpStatus
WINGDIPAPI
GdipGetPathGradientCenterPointI
(
GpPathGradient
*
,
GpPoint
*
);
GpStatus
WINGDIPAPI
GdipGetPathGradientFocusScales
(
GpPathGradient
*
,
REAL
*
,
REAL
*
);
GpStatus
WINGDIPAPI
GdipGetPathGradientGammaCorrection
(
GpPathGradient
*
,
BOOL
*
);
GpStatus
WINGDIPAPI
GdipGetPathGradientPointCount
(
GpPathGradient
*
,
INT
*
);
...
...
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