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
ff558c63
Commit
ff558c63
authored
Sep 08, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d2d1/tests: Adjust geometry to make tests pass on all devices.
Fix suggested by Zebediah Figura.
parent
c0c93d80
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
20 deletions
+20
-20
d2d1.c
dlls/d2d1/tests/d2d1.c
+20
-20
No files found.
dlls/d2d1/tests/d2d1.c
View file @
ff558c63
...
...
@@ -7154,36 +7154,36 @@ static void test_draw_geometry(BOOL d3d11)
hr
=
ID2D1PathGeometry_Open
(
geometry
,
&
sink
);
ok
(
hr
==
S_OK
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
set_point
(
&
point
,
20
.
0
f
,
80
.
0
f
);
set_point
(
&
point
,
20
.
0
f
,
79
.
5
f
);
ID2D1GeometrySink_BeginFigure
(
sink
,
point
,
D2D1_FIGURE_BEGIN_HOLLOW
);
quadratic_to
(
sink
,
40
.
0
f
,
80
.
0
f
,
60
.
0
f
,
80
.
0
f
);
quadratic_to
(
sink
,
60
.
0
f
,
1
60
.
0
f
,
60
.
0
f
,
240
.
0
f
);
quadratic_to
(
sink
,
40
.
0
f
,
2
40
.
0
f
,
20
.
0
f
,
240
.
0
f
);
quadratic_to
(
sink
,
20
.
0
f
,
1
60
.
0
f
,
20
.
0
f
,
80
.
0
f
);
quadratic_to
(
sink
,
40
.
0
f
,
79
.
5
f
,
60
.
0
f
,
79
.
5
f
);
quadratic_to
(
sink
,
60
.
0
f
,
1
59
.
5
f
,
60
.
0
f
,
239
.
5
f
);
quadratic_to
(
sink
,
40
.
0
f
,
2
39
.
5
f
,
20
.
0
f
,
239
.
5
f
);
quadratic_to
(
sink
,
20
.
0
f
,
1
59
.
5
f
,
20
.
0
f
,
79
.
5
f
);
ID2D1GeometrySink_EndFigure
(
sink
,
D2D1_FIGURE_END_CLOSED
);
set_point
(
&
point
,
100
.
0
f
,
80
.
0
f
);
set_point
(
&
point
,
100
.
0
f
,
79
.
5
f
);
ID2D1GeometrySink_BeginFigure
(
sink
,
point
,
D2D1_FIGURE_BEGIN_HOLLOW
);
quadratic_to
(
sink
,
105
.
0
f
,
80
.
0
f
,
140
.
0
f
,
80
.
0
f
);
quadratic_to
(
sink
,
140
.
0
f
,
100
.
0
f
,
140
.
0
f
,
240
.
0
f
);
quadratic_to
(
sink
,
135
.
0
f
,
2
40
.
0
f
,
100
.
0
f
,
240
.
0
f
);
quadratic_to
(
sink
,
100
.
0
f
,
2
20
.
0
f
,
100
.
0
f
,
80
.
0
f
);
quadratic_to
(
sink
,
105
.
0
f
,
79
.
5
f
,
140
.
0
f
,
79
.
5
f
);
quadratic_to
(
sink
,
140
.
0
f
,
99
.
5
f
,
140
.
0
f
,
239
.
5
f
);
quadratic_to
(
sink
,
135
.
0
f
,
2
39
.
5
f
,
100
.
0
f
,
239
.
5
f
);
quadratic_to
(
sink
,
100
.
0
f
,
2
19
.
5
f
,
100
.
0
f
,
79
.
5
f
);
ID2D1GeometrySink_EndFigure
(
sink
,
D2D1_FIGURE_END_CLOSED
);
set_point
(
&
point
,
180
.
0
f
,
80
.
0
f
);
set_point
(
&
point
,
180
.
0
f
,
79
.
5
f
);
ID2D1GeometrySink_BeginFigure
(
sink
,
point
,
D2D1_FIGURE_BEGIN_HOLLOW
);
quadratic_to
(
sink
,
215
.
0
f
,
80
.
0
f
,
220
.
0
f
,
80
.
0
f
);
quadratic_to
(
sink
,
220
.
0
f
,
2
20
.
0
f
,
220
.
0
f
,
240
.
0
f
);
quadratic_to
(
sink
,
185
.
0
f
,
2
40
.
0
f
,
180
.
0
f
,
240
.
0
f
);
quadratic_to
(
sink
,
180
.
0
f
,
100
.
0
f
,
180
.
0
f
,
80
.
0
f
);
quadratic_to
(
sink
,
215
.
0
f
,
79
.
5
f
,
220
.
0
f
,
79
.
5
f
);
quadratic_to
(
sink
,
220
.
0
f
,
2
19
.
5
f
,
220
.
0
f
,
239
.
5
f
);
quadratic_to
(
sink
,
185
.
0
f
,
2
39
.
5
f
,
180
.
0
f
,
239
.
5
f
);
quadratic_to
(
sink
,
180
.
0
f
,
99
.
5
f
,
180
.
0
f
,
79
.
5
f
);
ID2D1GeometrySink_EndFigure
(
sink
,
D2D1_FIGURE_END_CLOSED
);
set_point
(
&
point
,
260
.
0
f
,
80
.
0
f
);
set_point
(
&
point
,
260
.
0
f
,
79
.
5
f
);
ID2D1GeometrySink_BeginFigure
(
sink
,
point
,
D2D1_FIGURE_BEGIN_HOLLOW
);
quadratic_to
(
sink
,
280
.
0
f
,
80
.
0
f
,
300
.
0
f
,
80
.
0
f
);
quadratic_to
(
sink
,
300
.
0
f
,
1
60
.
0
f
,
300
.
0
f
,
240
.
0
f
);
quadratic_to
(
sink
,
280
.
0
f
,
2
40
.
0
f
,
260
.
0
f
,
240
.
0
f
);
quadratic_to
(
sink
,
260
.
0
f
,
1
60
.
0
f
,
260
.
0
f
,
80
.
0
f
);
quadratic_to
(
sink
,
280
.
0
f
,
79
.
5
f
,
300
.
0
f
,
79
.
5
f
);
quadratic_to
(
sink
,
300
.
0
f
,
1
59
.
5
f
,
300
.
0
f
,
239
.
5
f
);
quadratic_to
(
sink
,
280
.
0
f
,
2
39
.
5
f
,
260
.
0
f
,
239
.
5
f
);
quadratic_to
(
sink
,
260
.
0
f
,
1
59
.
5
f
,
260
.
0
f
,
79
.
5
f
);
ID2D1GeometrySink_EndFigure
(
sink
,
D2D1_FIGURE_END_OPEN
);
set_point
(
&
point
,
20
.
0
f
,
400
.
0
f
);
...
...
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