Exemplo n.º 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)
}
Exemplo n.º 2
0
func (p *Pixbuf) GetHasAlpha() bool {
	return gobool(C.gdk_pixbuf_get_has_alpha(p.GPixbuf))
}
Exemplo n.º 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
}