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
8c538c81
Commit
8c538c81
authored
Oct 25, 2000
by
Mark Dufour
Committed by
Alexandre Julliard
Oct 25, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
X11DRV_DrawArc: swap the start and end points when drawing in
clockwise direction.
parent
bbdb9dbb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
graphics.c
graphics/x11drv/graphics.c
+4
-0
No files found.
graphics/x11drv/graphics.c
View file @
8c538c81
...
...
@@ -343,6 +343,10 @@ X11DRV_DrawArc( DC *dc, INT left, INT top, INT right,
if
((
left
==
right
)
||
(
top
==
bottom
)
||
(
lines
&&
((
right
-
left
==
1
)
||
(
bottom
-
top
==
1
))))
return
TRUE
;
if
(
dc
->
w
.
ArcDirection
==
AD_CLOCKWISE
)
{
INT
tmp
=
xstart
;
xstart
=
xend
;
xend
=
tmp
;
tmp
=
ystart
;
ystart
=
yend
;
yend
=
tmp
;
}
oldwidth
=
width
=
physDev
->
pen
.
width
;
oldendcap
=
physDev
->
pen
.
endcap
;
if
(
!
width
)
width
=
1
;
...
...
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