Files
test2/source/blender/freestyle/intern/python/Interface1D/BPy_FEdge.h

50 lines
1.4 KiB
C
Raw Normal View History

2013-02-23 18:32:28 +00:00
/*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
/** \file \ingroup freestyle
2013-02-23 18:32:28 +00:00
*/
2013-02-23 18:50:33 +00:00
#ifndef __FREESTYLE_PYTHON_FEDGE_H__
#define __FREESTYLE_PYTHON_FEDGE_H__
#include "../BPy_Interface1D.h"
#include "../../view_map/Silhouette.h"
#ifdef __cplusplus
extern "C" {
#endif
///////////////////////////////////////////////////////////////////////////////////////////
extern PyTypeObject FEdge_Type;
2013-02-23 18:50:33 +00:00
#define BPy_FEdge_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&FEdge_Type))
/*---------------------------Python BPy_FEdge structure definition----------*/
typedef struct {
BPy_Interface1D py_if1D;
FEdge *fe;
} BPy_FEdge;
///////////////////////////////////////////////////////////////////////////////////////////
#ifdef __cplusplus
}
#endif
2013-02-23 18:50:33 +00:00
#endif /* __FREESTYLE_PYTHON_FEDGE_H__ */