32
33
#ifndef EXPP_CURVE_H
33
34
#define EXPP_CURVE_H
35
#include "bpy_types.h"
37
#endif /* EXPP_CURVE_H */
36
#include <DNA_curve_types.h>
38
extern PyTypeObject Curve_Type;
40
#define BPy_Curve_Check(v) ((v)->ob_type==&Curve_Type)
42
/* Python BPy_Curve structure definition */
44
PyObject_HEAD /* required py macro */
46
/* pointer for iterator: does not point to owned memory */
55
PyObject *Curve_Init( void );
56
PyObject *Curve_CreatePyObject( struct Curve * curve );
57
int Curve_CheckPyObject( PyObject * py_obj );
58
struct Curve *Curve_FromPyObject( PyObject * py_obj );
59
PyObject *Curve_update( BPy_Curve * self );
61
PyObject *Curve_getName( BPy_Curve * self );
62
PyObject *Curve_setName( BPy_Curve * self, PyObject * args );
63
PyObject *Curve_getMode( BPy_Curve * self );
64
PyObject *Curve_setMode( BPy_Curve * self, PyObject * args );
65
PyObject *Curve_getBevresol( BPy_Curve * self );
66
PyObject *Curve_setBevresol( BPy_Curve * self, PyObject * args );
67
PyObject *Curve_getResolu( BPy_Curve * self );
68
PyObject *Curve_setResolu( BPy_Curve * self, PyObject * args );
69
PyObject *Curve_getResolv( BPy_Curve * self );
70
PyObject *Curve_setResolv( BPy_Curve * self, PyObject * args );
71
PyObject *Curve_getExt1( BPy_Curve * self );
72
PyObject *Curve_setExt1( BPy_Curve * self, PyObject * args );
73
PyObject *Curve_getExt2( BPy_Curve * self );
74
PyObject *Curve_setExt2( BPy_Curve * self, PyObject * args );
75
PyObject *Curve_getWidth( BPy_Curve * self );
76
PyObject *Curve_setWidth( BPy_Curve * self, PyObject * args );
78
#endif /* EXPP_CURVE_H */