blob: 761e2f23fcbbf9ac60645445ce237c9cf2943699 [file] [log] [blame]
Kaido Kert25902c62024-06-17 17:10:28 -07001// 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
11namespace gfx {
12
13GEOMETRY_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_