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
79e94a74
Commit
79e94a74
authored
Jul 31, 1999
by
Huw D M Davies
Committed by
Alexandre Julliard
Jul 31, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PSDRV_WriteArc shouldn't write a newpath.
parent
dbb4ad82
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
graphics.c
graphics/psdrv/graphics.c
+3
-0
ps.c
graphics/psdrv/ps.c
+0
-4
No files found.
graphics/psdrv/graphics.c
View file @
79e94a74
...
@@ -152,6 +152,9 @@ static BOOL PSDRV_DrawArc( DC *dc, INT left, INT top,
...
@@ -152,6 +152,9 @@ static BOOL PSDRV_DrawArc( DC *dc, INT left, INT top,
if
(
lines
==
2
)
/* pie */
if
(
lines
==
2
)
/* pie */
PSDRV_WriteMoveTo
(
dc
,
x
,
y
);
PSDRV_WriteMoveTo
(
dc
,
x
,
y
);
else
PSDRV_WriteNewPath
(
dc
);
PSDRV_WriteArc
(
dc
,
x
,
y
,
w
,
h
,
start_angle
,
end_angle
);
PSDRV_WriteArc
(
dc
,
x
,
y
,
w
,
h
,
start_angle
,
end_angle
);
if
(
lines
==
1
||
lines
==
2
)
{
/* chord or pie */
if
(
lines
==
1
||
lines
==
2
)
{
/* chord or pie */
PSDRV_WriteClosePath
(
dc
);
PSDRV_WriteClosePath
(
dc
);
...
...
graphics/psdrv/ps.c
View file @
79e94a74
...
@@ -511,10 +511,6 @@ BOOL PSDRV_WriteArc(DC *dc, INT x, INT y, INT w, INT h, double ang1,
...
@@ -511,10 +511,6 @@ BOOL PSDRV_WriteArc(DC *dc, INT x, INT y, INT w, INT h, double ang1,
/* Make angles -ve and swap order because we're working with an upside
/* Make angles -ve and swap order because we're working with an upside
down y-axis */
down y-axis */
sprintf
(
buf
,
psarc
,
x
,
y
,
w
,
h
,
-
ang2
,
-
ang1
);
sprintf
(
buf
,
psarc
,
x
,
y
,
w
,
h
,
-
ang2
,
-
ang1
);
/* Write newpath operator to ensure there's no line segment drawn
from the current point to the beginning of the arc. */
PSDRV_WriteNewPath
(
dc
);
return
PSDRV_WriteSpool
(
dc
,
buf
,
strlen
(
buf
));
return
PSDRV_WriteSpool
(
dc
,
buf
,
strlen
(
buf
));
}
}
...
...
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