2010-04-14 14:41:08 -04:00
|
|
|
/*
|
|
|
|
* Cogl
|
|
|
|
*
|
|
|
|
* An object oriented GL/GLES Abstraction/Utility Layer
|
|
|
|
*
|
|
|
|
* Copyright (C) 2007,2008,2009,2010 Intel Corporation.
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2012-06-20 13:49:08 -04:00
|
|
|
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
|
2011-03-02 12:45:25 -05:00
|
|
|
#error "Only <cogl/cogl.h> can be included directly."
|
|
|
|
#endif
|
|
|
|
|
2010-04-14 14:41:08 -04:00
|
|
|
#ifndef __COGL_CLIP_STATE_H
|
|
|
|
#define __COGL_CLIP_STATE_H
|
|
|
|
|
2011-03-02 12:45:25 -05:00
|
|
|
#include <cogl/cogl-types.h>
|
2010-04-14 14:41:08 -04:00
|
|
|
|
2011-03-02 12:45:25 -05:00
|
|
|
G_BEGIN_DECLS
|
2010-04-14 14:41:08 -04:00
|
|
|
|
2011-03-02 12:45:25 -05:00
|
|
|
/**
|
|
|
|
* cogl_clip_push_from_path:
|
|
|
|
*
|
|
|
|
* Sets a new clipping area using the current path. The current path
|
|
|
|
* is then cleared. The clipping area is intersected with the previous
|
|
|
|
* clipping area. To restore the previous clipping area, call
|
|
|
|
* cogl_clip_pop().
|
|
|
|
*
|
|
|
|
* Since: 1.0
|
|
|
|
*/
|
2010-04-14 14:41:08 -04:00
|
|
|
void
|
2011-03-02 12:45:25 -05:00
|
|
|
cogl_clip_push_from_path (void);
|
2010-04-14 14:41:08 -04:00
|
|
|
|
2011-03-02 12:45:25 -05:00
|
|
|
G_END_DECLS
|
2010-04-15 05:58:28 -04:00
|
|
|
|
2010-04-14 14:41:08 -04:00
|
|
|
#endif /* __COGL_CLIP_STATE_H */
|