Searched refs:IsCounterClockwise (Results 1 – 3 of 3) sorted by relevance
/external/libchrome/ui/gfx/geometry/ |
D | quad_unittest.cc | 187 TEST(QuadTest, IsCounterClockwise) { in TEST() argument 192 EXPECT_FALSE(QuadF(a1, b1, c1, d1).IsCounterClockwise()); in TEST() 193 EXPECT_FALSE(QuadF(b1, c1, d1, a1).IsCounterClockwise()); in TEST() 194 EXPECT_TRUE(QuadF(a1, d1, c1, b1).IsCounterClockwise()); in TEST() 195 EXPECT_TRUE(QuadF(c1, b1, a1, d1).IsCounterClockwise()); in TEST() 202 EXPECT_TRUE(QuadF(a2, b2, c2, d2).IsCounterClockwise()); in TEST() 203 EXPECT_TRUE(QuadF(b2, c2, d2, a2).IsCounterClockwise()); in TEST() 204 EXPECT_FALSE(QuadF(a2, d2, c2, b2).IsCounterClockwise()); in TEST() 205 EXPECT_FALSE(QuadF(c2, b2, a2, d2).IsCounterClockwise()); in TEST() 212 EXPECT_FALSE(QuadF(a3, b3, c3, d3).IsCounterClockwise()); in TEST() [all …]
|
D | quad_f.h | 56 bool IsCounterClockwise() const;
|
D | quad_f.cc | 40 bool QuadF::IsCounterClockwise() const { in IsCounterClockwise() function in gfx::QuadF
|