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