Exemple #1
0
// GetHasAlpha is a wrapper around gdk_pixbuf_get_has_alpha().
func (v *Pixbuf) GetHasAlpha() bool {
	c := C.gdk_pixbuf_get_has_alpha(v.native())
	return gobool(c)
}
Exemple #2
0
func (p *Pixbuf) GetHasAlpha() bool {
	return gobool(C.gdk_pixbuf_get_has_alpha(p.GPixbuf))
}
Exemple #3
0
/*
Queries whether a pixbuf has an alpha channel (opacity information).
*/
func (self *TraitPixbuf) GetHasAlpha() (return__ bool) {
	var __cgo__return__ C.gboolean
	__cgo__return__ = C.gdk_pixbuf_get_has_alpha(self.CPointer)
	return__ = __cgo__return__ == C.gboolean(1)
	return
}