"Initial commit to Gerrit"
[profile/ivi/cogl.git] / cogl / cogl-point-in-poly-private.h
1 /*
2  * Cogl
3  *
4  * An object oriented GL/GLES Abstraction/Utility Layer
5  *
6  * Copyright (C) 2011 Intel Corporation.
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library. If not, see
20  * <http://www.gnu.org/licenses/>.
21  */
22
23 #ifndef __COGL_POINT_INT_POLYGON_PRIVATE_H
24 #define __COGL_POINT_INT_POLYGON_PRIVATE_H
25
26 #include <glib.h>
27
28 G_BEGIN_DECLS
29
30 int
31 _cogl_util_point_in_screen_poly (float point_x,
32                                  float point_y,
33                                  void *vertices,
34                                  size_t stride,
35                                  int n_vertices);
36
37 G_END_DECLS
38
39 #endif /* __COGL_POINT_INT_POLYGON_PRIVATE_H */
40