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
ff6bda89
Commit
ff6bda89
authored
Aug 13, 2002
by
Huw D M Davies
Committed by
Alexandre Julliard
Aug 13, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
At the end of PATH_StrokePath, update dc->CurPosX|Y so that their
values are in logical co-ords.
parent
2a00807f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
path.c
graphics/path.c
+13
-0
No files found.
graphics/path.c
View file @
ff6bda89
...
...
@@ -1578,6 +1578,19 @@ static BOOL PATH_StrokePath(DC *dc, GdiPath *pPath)
SetGraphicsMode
(
dc
->
hSelf
,
GM_ADVANCED
);
SetWorldTransform
(
dc
->
hSelf
,
&
xform
);
SetGraphicsMode
(
dc
->
hSelf
,
graphicsMode
);
/* If we've moved the current point then get its new position
which will be in device (MM_TEXT) co-ords, convert it to
logical co-ords and re-set it. This basically updates
dc->CurPosX|Y so that their values are in the correct mapping
mode.
*/
if
(
i
>
0
)
{
POINT
pt
;
GetCurrentPositionEx
(
dc
->
hSelf
,
&
pt
);
DPtoLP
(
dc
->
hSelf
,
&
pt
,
1
);
MoveToEx
(
dc
->
hSelf
,
pt
.
x
,
pt
.
y
,
NULL
);
}
return
ret
;
}
...
...
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