~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to source/blender/python/api2_2x/Curve.h

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ernst
  • Date: 2005-11-06 12:40:03 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051106124003-3pgs7tcg5rox96xg
Tags: 2.37a-1.1
* Non-maintainer upload.
* Split out parts of 01_SConstruct_debian.dpatch again: root_build_dir
  really needs to get adjusted before the clean target runs - closes: #333958,
  see #288882 for reference

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* 
 
2
 * $Id: Curve.h,v 1.18 2005/06/13 19:15:01 stiv Exp $
2
3
 *
3
4
 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
4
5
 *
32
33
#ifndef EXPP_CURVE_H
33
34
#define EXPP_CURVE_H
34
35
 
35
 
#include "bpy_types.h"
36
 
 
37
 
#endif /* EXPP_CURVE_H */
 
36
#include <DNA_curve_types.h>
 
37
 
 
38
extern PyTypeObject Curve_Type;
 
39
 
 
40
#define BPy_Curve_Check(v) ((v)->ob_type==&Curve_Type)
 
41
 
 
42
/* Python BPy_Curve structure definition */
 
43
typedef struct {
 
44
        PyObject_HEAD           /* required py macro */
 
45
        Curve * curve;
 
46
        /* pointer for iterator:  does not point to owned memory */
 
47
        Nurb *iter_pointer;
 
48
} BPy_Curve;
 
49
 
 
50
 
 
51
/*
 
52
 *  protoypes
 
53
 */
 
54
 
 
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 );
 
60
 
 
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 );
 
77
 
 
78
#endif                          /* EXPP_CURVE_H */