• Home
  • Raw
  • Download

Lines Matching refs:PointF

17   PointF a(1, 1);  in TEST()
18 PointF b(2, 1); in TEST()
19 PointF c(2, 2); in TEST()
20 PointF d(1, 2); in TEST()
21 PointF e; in TEST()
57 PointF a(1, 1); in TEST()
58 PointF b(2, 1); in TEST()
59 PointF c(2, 2); in TEST()
60 PointF d(1, 2); in TEST()
66 QuadF expected1(PointF(4.5f, -1.5f), in TEST()
67 PointF(5.5f, -1.5f), in TEST()
68 PointF(5.5f, -0.5f), in TEST()
69 PointF(4.5f, -0.5f)); in TEST()
76 QuadF expected2(PointF(-2.5f, 3.5f), in TEST()
77 PointF(-1.5f, 3.5f), in TEST()
78 PointF(-1.5f, 4.5f), in TEST()
79 PointF(-2.5f, 4.5f)); in TEST()
91 PointF a(1, 1); in TEST()
92 PointF b(2, 1); in TEST()
93 PointF c(2, 2); in TEST()
94 PointF d(1, 2); in TEST()
102 PointF a2(1 + epsilon / 2, 1 + epsilon / 2); in TEST()
103 PointF b2(2 + epsilon / 2, 1 + epsilon / 2); in TEST()
104 PointF c2(2 + epsilon / 2, 2 + epsilon / 2); in TEST()
105 PointF d2(1 + epsilon / 2, 2 + epsilon / 2); in TEST()
116 PointF a_off, b_off, c_off, d_off; in TEST()
119 PointF(1, 1.00001f), in TEST()
120 PointF(2, 1.00001f), in TEST()
121 PointF(2, 2.00001f), in TEST()
122 PointF(1, 2.00001f) in TEST()
125 PointF(1.00001f, 1), in TEST()
126 PointF(2.00001f, 1), in TEST()
127 PointF(2.00001f, 2), in TEST()
128 PointF(1.00001f, 2) in TEST()
131 PointF(1.00001f, 1.00001f), in TEST()
132 PointF(2.00001f, 1.00001f), in TEST()
133 PointF(2.00001f, 2.00001f), in TEST()
134 PointF(1.00001f, 2.00001f) in TEST()
137 PointF(1, 0.99999f), in TEST()
138 PointF(2, 0.99999f), in TEST()
139 PointF(2, 1.99999f), in TEST()
140 PointF(1, 1.99999f) in TEST()
143 PointF(0.99999f, 1), in TEST()
144 PointF(1.99999f, 1), in TEST()
145 PointF(1.99999f, 2), in TEST()
146 PointF(0.99999f, 2) in TEST()
149 PointF(0.99999f, 0.99999f), in TEST()
150 PointF(1.99999f, 0.99999f), in TEST()
151 PointF(1.99999f, 1.99999f), in TEST()
152 PointF(0.99999f, 1.99999f) in TEST()
157 PointF a_off = tests[i].a_off; in TEST()
158 PointF b_off = tests[i].b_off; in TEST()
159 PointF c_off = tests[i].c_off; in TEST()
160 PointF d_off = tests[i].d_off; in TEST()
188 PointF a1(1, 1); in TEST()
189 PointF b1(2, 1); in TEST()
190 PointF c1(2, 2); in TEST()
191 PointF d1(1, 2); in TEST()
198 PointF a2(1.3f, 1.4f); in TEST()
199 PointF b2(-0.7f, 4.9f); in TEST()
200 PointF c2(1.8f, 6.2f); in TEST()
201 PointF d2(2.1f, 1.6f); in TEST()
208 PointF a3(0, 0); in TEST()
209 PointF b3(1, 0); in TEST()
210 PointF c3(2, 0); in TEST()
211 PointF d3(1, 1); in TEST()
220 PointF a4(0, 0); in TEST()
221 PointF b4(1, 1); in TEST()
222 PointF c4(2, 0); in TEST()
223 PointF d4(1, 3); in TEST()
231 PointF a5(1e30f, 1e30f); in TEST()
232 PointF b5(1e35f, 1e30f); in TEST()
233 PointF c5(1e35f, 1e35f); in TEST()
234 PointF d5(1e30f, 1e35f); in TEST()
245 PointF a(1.3f, 1.4f); in TEST()
246 PointF b(-0.7f, 4.9f); in TEST()
247 PointF c(1.8f, 6.2f); in TEST()
248 PointF d(2.1f, 1.6f); in TEST()
258 PointF a(1.3f, 1.4f); in TEST()
259 PointF b(-0.8f, 4.4f); in TEST()
260 PointF c(1.8f, 6.1f); in TEST()
261 PointF d(2.1f, 1.6f); in TEST()
305 PointF s1(-1, -1); in TEST()
306 PointF s2(1, -1); in TEST()
307 PointF s3(1, 1); in TEST()
308 PointF s4(-1, 1); in TEST()
310 EXPECT_FALSE(QuadF(s1, s2, s3, s4).Contains(PointF(-1.1f, -1.0f))); in TEST()
311 EXPECT_TRUE(QuadF(s1, s2, s3, s4).Contains(PointF(-1.0f, -1.0f))); in TEST()
312 EXPECT_TRUE(QuadF(s1, s2, s3, s4).Contains(PointF(0.0f, -1.0f))); in TEST()
313 EXPECT_TRUE(QuadF(s1, s2, s3, s4).Contains(PointF(1.0f, -1.0f))); in TEST()
314 EXPECT_FALSE(QuadF(s1, s2, s3, s4).Contains(PointF(1.1f, -1.0f))); in TEST()
316 EXPECT_FALSE(QuadF(s1, s2, s3, s4).Contains(PointF(-1.1f, 1.0f))); in TEST()
317 EXPECT_TRUE(QuadF(s1, s2, s3, s4).Contains(PointF(-1.0f, 1.0f))); in TEST()
318 EXPECT_TRUE(QuadF(s1, s2, s3, s4).Contains(PointF(0.0f, 1.0f))); in TEST()
319 EXPECT_TRUE(QuadF(s1, s2, s3, s4).Contains(PointF(1.0f, 1.0f))); in TEST()
320 EXPECT_FALSE(QuadF(s1, s2, s3, s4).Contains(PointF(1.1f, 1.0f))); in TEST()
322 EXPECT_FALSE(QuadF(s1, s2, s3, s4).Contains(PointF(-1.0f, -1.1f))); in TEST()
323 EXPECT_TRUE(QuadF(s1, s2, s3, s4).Contains(PointF(-1.0f, -1.0f))); in TEST()
324 EXPECT_TRUE(QuadF(s1, s2, s3, s4).Contains(PointF(-1.0f, 0.0f))); in TEST()
325 EXPECT_TRUE(QuadF(s1, s2, s3, s4).Contains(PointF(-1.0f, 1.0f))); in TEST()
326 EXPECT_FALSE(QuadF(s1, s2, s3, s4).Contains(PointF(-1.0f, 1.1f))); in TEST()
328 EXPECT_FALSE(QuadF(s1, s2, s3, s4).Contains(PointF(1.0f, -1.1f))); in TEST()
329 EXPECT_TRUE(QuadF(s1, s2, s3, s4).Contains(PointF(1.0f, -1.0f))); in TEST()
330 EXPECT_TRUE(QuadF(s1, s2, s3, s4).Contains(PointF(1.0f, 0.0f))); in TEST()
331 EXPECT_TRUE(QuadF(s1, s2, s3, s4).Contains(PointF(1.0f, 1.0f))); in TEST()
332 EXPECT_FALSE(QuadF(s1, s2, s3, s4).Contains(PointF(1.0f, 1.1f))); in TEST()
334 EXPECT_TRUE(QuadF(s1, s2, s3, s4).Contains(PointF(0, 0))); in TEST()
336 EXPECT_FALSE(QuadF(s1, s2, s3, s4).Contains(PointF(-1.1f, 0))); in TEST()
337 EXPECT_FALSE(QuadF(s1, s2, s3, s4).Contains(PointF(1.1f, 0))); in TEST()
338 EXPECT_FALSE(QuadF(s1, s2, s3, s4).Contains(PointF(0, -1.1f))); in TEST()
339 EXPECT_FALSE(QuadF(s1, s2, s3, s4).Contains(PointF(0, 1.1f))); in TEST()
343 PointF a(1.3f, 1.4f); in TEST()
344 PointF b(-0.8f, 4.4f); in TEST()
345 PointF c(1.8f, 6.1f); in TEST()
346 PointF d(2.1f, 1.6f); in TEST()
350 PointF a_scaled = ScalePoint(a, 1.5f); in TEST()
351 PointF b_scaled = ScalePoint(b, 1.5f); in TEST()
352 PointF c_scaled = ScalePoint(c, 1.5f); in TEST()
353 PointF d_scaled = ScalePoint(d, 1.5f); in TEST()