SWFShape drawArc in python
Dirk Datzert <[email protected]> Sat, 11 Oct 2003 19:40:33 +0200
| Newsgroups | gmane.comp.web.ming.general |
|---|---|
| Organization | Rasselstein Hoesch GmbH |
| Message-ID | <[email protected]> |
Hi all,
I found a possible bug in py_ext/ming.py ?
In ming.py the drawArc()-function of SWFShape is defined as:
ming.py: def drawArc(self, x, y, r, startAngle, endAngle):
but in the ming_wrap.c the same function has no x or y Argument
ming_wrap.c: SWFShape_drawArc(arg1,arg2,arg3,arg4);
Since ming_wrap.c is derived from ming.i:
void SWFShape_drawArc(SWFShape shape, int r,
float startAngle, float endAngle);
I want to suggest adjusting the ming.py file to:
py_ext/ming.py line 95
def drawArc(self, r, startAngle, endAngle):
mingc.SWFShape_drawArc(self.this, r, startAngle, endAngle)
Any comments ?
Regards,
Dirk