Esempio n. 1
0
// GetNChannels is a wrapper around gdk_pixbuf_get_n_channels().
func (v *Pixbuf) GetNChannels() int {
	c := C.gdk_pixbuf_get_n_channels(v.native())
	return int(c)
}
Esempio n. 2
0
func (p *Pixbuf) GetNChannels() int {
	return int(C.gdk_pixbuf_get_n_channels(p.GPixbuf))
}
Esempio n. 3
0
/*
Queries the number of channels of a pixbuf.
*/
func (self *TraitPixbuf) GetNChannels() (return__ int) {
	var __cgo__return__ C.int
	__cgo__return__ = C.gdk_pixbuf_get_n_channels(self.CPointer)
	return__ = int(__cgo__return__)
	return
}