Пример #1
0
// c converts Layers to c.cpLayers.
func (l Layers) c() C.cpLayers {
	return C.cpLayers(l)
}
Пример #2
0
func (s *Shape) SetLayers(layer Layer) {
	C.cpShapeSetLayers(s.shape, C.cpLayers(C.uint(layer)))
}