Kaido Kert | 25902c6 | 2024-06-17 17:10:28 -0700 | [diff] [blame^] | 1 | // Copyright 2021 The Chromium Authors |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef UI_GFX_GEOMETRY_TRIANGLE_F_H_ |
| 6 | #define UI_GFX_GEOMETRY_TRIANGLE_F_H_ |
| 7 | |
| 8 | #include "ui/gfx/geometry/geometry_export.h" |
| 9 | #include "ui/gfx/geometry/point_f.h" |
| 10 | |
| 11 | namespace gfx { |
| 12 | |
| 13 | GEOMETRY_EXPORT bool PointIsInTriangle(const PointF& point, |
| 14 | const PointF& r1, |
| 15 | const PointF& r2, |
| 16 | const PointF& r3); |
| 17 | |
| 18 | } |
| 19 | |
| 20 | #endif // UI_GFX_GEOMETRY_TRIANGLE_F_H_ |