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
00cfffbc
Commit
00cfffbc
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 GdipDrawCurve2I.
parent
4428cc32
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
1 deletion
+26
-1
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
graphics.c
dlls/gdiplus/graphics.c
+25
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
00cfffbc
...
...
@@ -164,7 +164,7 @@
@ stub GdipDrawClosedCurve
@ stub GdipDrawClosedCurveI
@ stdcall GdipDrawCurve2(ptr ptr ptr long long)
@ st
ub GdipDrawCurve2I
@ st
dcall GdipDrawCurve2I(ptr ptr ptr long long)
@ stub GdipDrawCurve3
@ stub GdipDrawCurve3I
@ stub GdipDrawCurve
...
...
dlls/gdiplus/graphics.c
View file @
00cfffbc
...
...
@@ -1059,6 +1059,31 @@ GpStatus WINGDIPAPI GdipDrawCurve2(GpGraphics *graphics, GpPen *pen,
return
retval
;
}
GpStatus
WINGDIPAPI
GdipDrawCurve2I
(
GpGraphics
*
graphics
,
GpPen
*
pen
,
GDIPCONST
GpPoint
*
points
,
INT
count
,
REAL
tension
)
{
GpPointF
*
pointsF
;
GpStatus
ret
;
INT
i
;
if
(
!
points
||
count
<=
0
)
return
InvalidParameter
;
pointsF
=
GdipAlloc
(
sizeof
(
GpPointF
)
*
count
);
if
(
!
pointsF
)
return
OutOfMemory
;
for
(
i
=
0
;
i
<
count
;
i
++
){
pointsF
[
i
].
X
=
(
REAL
)
points
[
i
].
X
;
pointsF
[
i
].
Y
=
(
REAL
)
points
[
i
].
Y
;
}
ret
=
GdipDrawCurve2
(
graphics
,
pen
,
pointsF
,
count
,
tension
);
GdipFree
(
pointsF
);
return
ret
;
}
GpStatus
WINGDIPAPI
GdipDrawImageI
(
GpGraphics
*
graphics
,
GpImage
*
image
,
INT
x
,
INT
y
)
{
...
...
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