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