func (s *Shape) Free() { delete(shapeLookup, s.CPShape) C.cpShapeFree(s.CPShape) s.CPShape = nil }
// Free removes a shape. func (s shapeBase) Free() { C.cpShapeFree(s.c()) }
func (s *Shape) Free() { C.cpShapeFree(s.shape) }