1234567891011121314151617181920 |
- // Copyright (c) 2021 The Chromium Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style license that can be
- // found in the LICENSE file.
- #ifndef UI_GFX_GEOMETRY_TRIANGLE_F_H_
- #define UI_GFX_GEOMETRY_TRIANGLE_F_H_
- #include "ui/gfx/geometry/geometry_export.h"
- #include "ui/gfx/geometry/point_f.h"
- namespace gfx {
- GEOMETRY_EXPORT bool PointIsInTriangle(const PointF& point,
- const PointF& r1,
- const PointF& r2,
- const PointF& r3);
- }
- #endif // UI_GFX_GEOMETRY_TRIANGLE_F_H_
|