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