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
0f44fb36
Commit
0f44fb36
authored
May 29, 1999
by
Joshua Thielen
Committed by
Alexandre Julliard
May 29, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a bug which causes the PolyBezier to not be updated on redraw
(when you want them to be).
parent
16c3cc27
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
graphics.c
graphics/x11drv/graphics.c
+5
-3
No files found.
graphics/x11drv/graphics.c
View file @
0f44fb36
...
...
@@ -1332,8 +1332,9 @@ static void X11DRV_Bezier(int level, DC * dc, POINT *Points,
X11DRV_PDEVICE
*
physDev
=
(
X11DRV_PDEVICE
*
)
dc
->
physDev
;
if
(
*
pIx
==
BEZMAXPOINTS
){
TSXDrawLines
(
display
,
physDev
->
drawable
,
physDev
->
gc
,
xpoints
,
*
pIx
,
CoordModeOrigin
);
if
(
X11DRV_SetupGCForPen
(
dc
))
TSXDrawLines
(
display
,
physDev
->
drawable
,
physDev
->
gc
,
xpoints
,
*
pIx
,
CoordModeOrigin
);
*
pIx
=
0
;
}
if
(
!
level
||
BezierCheck
(
level
,
Points
))
{
...
...
@@ -1406,7 +1407,8 @@ X11DRV_PolyBezier(DC *dc, POINT start, const POINT* BezierPoints, DWORD count)
X11DRV_Bezier
(
BEZIERMAXDEPTH
,
dc
,
Points
,
xpoints
,
&
ix
);
count
-=
3
;
}
if
(
ix
)
TSXDrawLines
(
display
,
physDev
->
drawable
,
physDev
->
gc
,
if
(
ix
&&
X11DRV_SetupGCForPen
(
dc
))
TSXDrawLines
(
display
,
physDev
->
drawable
,
physDev
->
gc
,
xpoints
,
ix
,
CoordModeOrigin
);
free
(
xpoints
);
return
TRUE
;
...
...
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