mirror of
https://github.com/brl/mutter.git
synced 2024-11-30 03:50:47 -05:00
59 lines
2.0 KiB
C
59 lines
2.0 KiB
C
|
/*
|
||
|
* Cogl
|
||
|
*
|
||
|
* An object oriented GL/GLES Abstraction/Utility Layer
|
||
|
*
|
||
|
* Copyright (C) 2008,2009,2013 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/>.
|
||
|
*
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
#ifndef __COGL_PATH_H__
|
||
|
#define __COGL_PATH_H__
|
||
|
|
||
|
/**
|
||
|
* SECTION:cogl-paths
|
||
|
* @short_description: Functions for constructing and drawing 2D paths.
|
||
|
*
|
||
|
* There are two levels on which drawing with cogl-paths can be used.
|
||
|
* The highest level functions construct various simple primitive
|
||
|
* shapes to be either filled or stroked. Using a lower-level set of
|
||
|
* functions more complex and arbitrary paths can be constructed by
|
||
|
* concatenating straight line, bezier curve and arc segments.
|
||
|
*
|
||
|
* When constructing arbitrary paths, the current pen location is
|
||
|
* initialized using the move_to command. The subsequent path segments
|
||
|
* implicitly use the last pen location as their first vertex and move
|
||
|
* the pen location to the last vertex they produce at the end. Also
|
||
|
* there are special versions of functions that allow specifying the
|
||
|
* vertices of the path segments relative to the last pen location
|
||
|
* rather then in the absolute coordinates.
|
||
|
*/
|
||
|
|
||
|
#include <cogl-path/cogl-path-enum-types.h>
|
||
|
|
||
|
#include <cogl-path/cogl-path-types.h>
|
||
|
|
||
|
#ifdef COGL_ENABLE_EXPERIMENTAL_2_0_API
|
||
|
#include <cogl-path/cogl2-path-functions.h>
|
||
|
#else
|
||
|
#include <cogl-path/cogl1-path-functions.h>
|
||
|
#endif
|
||
|
|
||
|
#endif /* __COGL_PATH_H__ */
|
||
|
|