kicad/pcbnew/python/swig/pcb_shape.i

15 lines
178 B
OpenEdge ABL

%include pcb_shape.h
%extend PCB_SHAPE
{
%pythoncode
%{
def GetShapeStr(self):
return self.ShowShape(self.GetShape())
%}
}
%{
#include <pcb_shape.h>
%}