+ TagObject*self = (TagObject*)_self;
+ if(!PyArg_ParseTuple(args, "")) return NULL;
+ if(!fillTAG((PyObject*)self)) return NULL;
+ int id = self->internals.tag->id;
+ int isfont=0;
+ if(id == ST_DEFINEFONT || id == ST_DEFINEFONT2)
+ isfont = 1;
+ return PyInt_FromLong(isfont);
+}
+static PyObject* tag_isImage(PyObject * _self, PyObject*args)
+{
+ TagObject*self = (TagObject*)_self;
+ if(!PyArg_ParseTuple(args, "")) return NULL;
+ if(!fillTAG((PyObject*)self)) return NULL;
+ return PyInt_FromLong(swf_isImageTag(self->internals.tag));
+}
+static PyObject* tag_isDefiningTag(PyObject * _self, PyObject*args)
+{
+ TagObject*self = (TagObject*)_self;
+ if(!PyArg_ParseTuple(args, "")) return NULL;
+ if(!fillTAG((PyObject*)self)) return NULL;
+ return PyInt_FromLong(swf_isDefiningTag(self->internals.tag));
+}
+static PyObject* tag_isPlacement(PyObject * _self, PyObject*args)
+{
+ TagObject*self = (TagObject*)_self;
+ if(!PyArg_ParseTuple(args, "")) return NULL;
+ if(!fillTAG((PyObject*)self)) return NULL;
+ return PyInt_FromLong((self->internals.tag->id == ST_PLACEOBJECT ||
+ self->internals.tag->id == ST_PLACEOBJECT2));
+}
+static PyObject* tag_getBBox(PyObject * _self, PyObject*args)
+{
+ TagObject*self = (TagObject*)_self;
+ if(!PyArg_ParseTuple(args, "")) return NULL;
+ if(!fillTAG((PyObject*)self)) return NULL;
+ return f_BBox2(swf_GetDefineBBox(self->internals.tag));
+}
+static PyObject* tag_setBBox(PyObject * _self, PyObject*args)
+{
+ TagObject*self = (TagObject*)_self;
+ PyObject*bbox = 0;
+ if(!PyArg_ParseTuple(args, "O!", &BBoxClass, &bbox)) return NULL;
+ if(!fillTAG((PyObject*)self)) return NULL;
+ swf_SetDefineBBox(self->internals.tag, bbox_getSRECT(bbox));
+ return PY_NONE;
+}
+//----------------------------------------------------------------------------