Пример #1
0
/*
Creates a new, empty animation.
*/
func PixbufSimpleAnimNew(width int, height int, rate float32) (return__ *PixbufSimpleAnim) {
	var __cgo__return__ interface{}
	__cgo__return__ = C.gdk_pixbuf_simple_anim_new(C.gint(width), C.gint(height), C.gfloat(rate))
	if __cgo__return__ != nil {
		return__ = NewPixbufSimpleAnimFromCPointer(unsafe.Pointer(reflect.ValueOf(__cgo__return__).Pointer()))
	}
	return
}
Пример #2
0
func PixbufSimpleAnimNew(width int, height int, rate float64) (_go__return__ PixbufSimpleAnim) {
	var _return_ *C.GdkPixbufSimpleAnim
	_cgo_width_ := (C.gint)(width)
	_cgo_height_ := (C.gint)(height)
	_cgo_rate_ := (C.gfloat)(rate)
	_return_ = C.gdk_pixbuf_simple_anim_new(_cgo_width_, _cgo_height_, _cgo_rate_)
	_go__return__ = ToPixbufSimpleAnim(unsafe.Pointer(_return_))
	return
}