soc-2008-mxcurioni: added (without testing) the following classes: BBox, SShape, ViewShape. Also corrected a few typos (Get#->get#).

This commit is contained in:
Maxime Curioni
2008-07-24 08:29:48 +00:00
parent dd899939da
commit a0359c3750
38 changed files with 1611 additions and 507 deletions

View File

@@ -3,6 +3,7 @@
#include "BPy_Convert.h"
#include "Interface1D/BPy_FEdge.h"
#include "Interface1D/BPy_Stroke.h"
#include "Interface1D/BPy_ViewEdge.h"
#include "BPy_MediumType.h"
#ifdef __cplusplus
@@ -150,6 +151,11 @@ PyMODINIT_FUNC Interface1D_Init( PyObject *module )
tmp = BPy_MediumType_from_MediumType( Stroke::HUMID_MEDIUM ); PyDict_SetItemString( Stroke_Type.tp_dict, "HUMID_MEDIUM", tmp); Py_DECREF(tmp);
tmp = BPy_MediumType_from_MediumType( Stroke::OPAQUE_MEDIUM ); PyDict_SetItemString( Stroke_Type.tp_dict, "OPAQUE_MEDIUM", tmp); Py_DECREF(tmp);
if( PyType_Ready( &ViewEdge_Type ) < 0 )
return;
Py_INCREF( &ViewEdge_Type );
PyModule_AddObject(module, "ViewEdge", (PyObject *)&ViewEdge_Type);
}