func (w *Window) DrawImage(a Array, props AFCell) error { aferr := C.af_draw_image(w.window, (C.af_array)(a._array), (*C.af_cell)(&props)) if aferr != 0 { return ErrDrawImage } return nil }
func (w *Window) DrawImage(a Array, props Cell) error { return af_call(C.af_draw_image(w.window, (C.af_array)(a.arr), (*C.af_cell)(&props))) }