Ejemplo n.º 1
0
// GetColorspace is a wrapper around gdk_pixbuf_get_colorspace().
func (v *Pixbuf) GetColorspace() Colorspace {
	c := C.gdk_pixbuf_get_colorspace(v.native())
	return Colorspace(c)
}
Ejemplo n.º 2
0
func (p *Pixbuf) GetColorspace() Colorspace {
	return Colorspace(C.gdk_pixbuf_get_colorspace(p.GPixbuf))
}
Ejemplo n.º 3
0
/*
Queries the color space of a pixbuf.
*/
func (self *TraitPixbuf) GetColorspace() (return__ C.GdkColorspace) {
	return__ = C.gdk_pixbuf_get_colorspace(self.CPointer)
	return
}