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
da6a94cd
Commit
da6a94cd
authored
Mar 30, 2009
by
Massimo Del Fedele
Committed by
Alexandre Julliard
Mar 31, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Fix PATH_add_outline when mapping mode != MM_TEXT.
parent
a11a450e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
path.c
dlls/gdi32/path.c
+0
-4
No files found.
dlls/gdi32/path.c
View file @
da6a94cd
...
...
@@ -1353,7 +1353,6 @@ static BOOL PATH_add_outline(DC *dc, INT x, INT y, TTPOLYGONHEADER *header, DWOR
pt
.
x
=
x
+
int_from_fixed
(
header
->
pfxStart
.
x
);
pt
.
y
=
y
-
int_from_fixed
(
header
->
pfxStart
.
y
);
LPtoDP
(
dc
->
hSelf
,
&
pt
,
1
);
PATH_AddEntry
(
pPath
,
&
pt
,
PT_MOVETO
);
curve
=
(
TTPOLYCURVE
*
)(
header
+
1
);
...
...
@@ -1372,7 +1371,6 @@ static BOOL PATH_add_outline(DC *dc, INT x, INT y, TTPOLYGONHEADER *header, DWOR
{
pt
.
x
=
x
+
int_from_fixed
(
curve
->
apfx
[
i
].
x
);
pt
.
y
=
y
-
int_from_fixed
(
curve
->
apfx
[
i
].
y
);
LPtoDP
(
dc
->
hSelf
,
&
pt
,
1
);
PATH_AddEntry
(
pPath
,
&
pt
,
PT_LINETO
);
}
break
;
...
...
@@ -1391,13 +1389,11 @@ static BOOL PATH_add_outline(DC *dc, INT x, INT y, TTPOLYGONHEADER *header, DWOR
pts
[
0
].
x
=
x
+
int_from_fixed
(
ptfx
.
x
);
pts
[
0
].
y
=
y
-
int_from_fixed
(
ptfx
.
y
);
LPtoDP
(
dc
->
hSelf
,
&
pts
[
0
],
1
);
for
(
i
=
0
;
i
<
curve
->
cpfx
;
i
++
)
{
pts
[
i
+
1
].
x
=
x
+
int_from_fixed
(
curve
->
apfx
[
i
].
x
);
pts
[
i
+
1
].
y
=
y
-
int_from_fixed
(
curve
->
apfx
[
i
].
y
);
LPtoDP
(
dc
->
hSelf
,
&
pts
[
i
+
1
],
1
);
}
PATH_BezierTo
(
pPath
,
pts
,
curve
->
cpfx
+
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