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
a77dc34b
Commit
a77dc34b
authored
May 08, 2008
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Let GdipDrawArcI use float args version.
parent
6bca330d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
16 deletions
+1
-16
graphics.c
dlls/gdiplus/graphics.c
+1
-16
No files found.
dlls/gdiplus/graphics.c
View file @
a77dc34b
...
...
@@ -932,22 +932,7 @@ GpStatus WINGDIPAPI GdipDrawArc(GpGraphics *graphics, GpPen *pen, REAL x,
GpStatus
WINGDIPAPI
GdipDrawArcI
(
GpGraphics
*
graphics
,
GpPen
*
pen
,
INT
x
,
INT
y
,
INT
width
,
INT
height
,
REAL
startAngle
,
REAL
sweepAngle
)
{
INT
save_state
,
num_pts
;
GpPointF
points
[
MAX_ARC_PTS
];
GpStatus
retval
;
if
(
!
graphics
||
!
pen
||
width
<=
0
||
height
<=
0
)
return
InvalidParameter
;
num_pts
=
arc2polybezier
(
points
,
x
,
y
,
width
,
height
,
startAngle
,
sweepAngle
);
save_state
=
prepare_dc
(
graphics
,
pen
);
retval
=
draw_polybezier
(
graphics
,
pen
,
points
,
num_pts
,
TRUE
);
restore_dc
(
graphics
,
save_state
);
return
retval
;
return
GdipDrawArc
(
graphics
,
pen
,(
REAL
)
x
,(
REAL
)
y
,(
REAL
)
width
,(
REAL
)
height
,
startAngle
,
sweepAngle
);
}
GpStatus
WINGDIPAPI
GdipDrawBezier
(
GpGraphics
*
graphics
,
GpPen
*
pen
,
REAL
x1
,
...
...
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