4 * An object oriented GL/GLES Abstraction/Utility Layer
6 * Copyright (C) 2007,2008,2009,2010 Intel Corporation.
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.
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.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
24 #if !defined(__COGL_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
25 #error "Only <cogl/cogl.h> can be included directly."
28 #ifndef __COGL_CLIP_STATE_H
29 #define __COGL_CLIP_STATE_H
31 #include <cogl/cogl-types.h>
36 * cogl_clip_push_from_path:
38 * Sets a new clipping area using the current path. The current path
39 * is then cleared. The clipping area is intersected with the previous
40 * clipping area. To restore the previous clipping area, call
46 cogl_clip_push_from_path (void);
50 #endif /* __COGL_CLIP_STATE_H */