func AddPoints(ih *iup.Ihandle, index int, x, y []float64) { count := len(x) cX := float64ArrayToC(x) cY := float64ArrayToC(y) C.IupPPlotAddPoints(ih.C(), C.int(index), &cX[0], &cY[0], C.int(count)) }
func Transform(ih *iup.Ihandle, x, y float64) (int, int) { cIX := new(C.int) cIY := new(C.int) C.IupPPlotTransform(ih.C(), C.float(x), C.float(y), cIX, cIY) return int(*cIX), int(*cIY) }
func AddStringPoints(ih *iup.Ihandle, index int, x []string, y []float64) { count := len(x) cX := stringArrayToC(x) defer freeCStringArray(cX) cY := float64ArrayToC(y) C.IupPPlotAddStrPoints(ih.C(), C.int(index), &cX[0], &cY[0], C.int(count)) }
func Begin(ih *iup.Ihandle, strXdata int) { C.IupPPlotBegin(ih.C(), C.int(strXdata)) }
func InsertString(ih *iup.Ihandle, index, sample_index int, x string, y float64) { cX := C.CString(x) defer C.free(unsafe.Pointer(cX)) C.IupPPlotInsertStr(ih.C(), C.int(index), C.int(sample_index), cX, C.float(y)) }
func End(ih *iup.Ihandle) { C.IupPPlotEnd(ih.C()) }
func Insert(ih *iup.Ihandle, index, sample_index int, x, y float64) { C.IupPPlotInsert(ih.C(), C.int(index), C.int(sample_index), C.float(x), C.float(y)) }
func Add(ih *iup.Ihandle, x, y float64) { C.IupPPlotAdd(ih.C(), C.float(x), C.float(y)) }
func AddString(ih *iup.Ihandle, x string, y float64) { cX := C.CString(x) defer C.free(unsafe.Pointer(cX)) C.IupPPlotAddStr(ih.C(), cX, C.float(y)) }
func UseFont(ih *iup.Ihandle, first, count, list_base int) { C.IupGLUseFont(ih.C(), C.int(first), C.int(count), C.int(list_base)) }
func Palette(ih *iup.Ihandle, index int, r, g, b float64) { C.IupGLPalette(ih.C(), C.int(index), C.float(r), C.float(g), C.float(b)) }
func SwapBuffers(ih *iup.Ihandle) { C.IupGLSwapBuffers(ih.C()) }
func IsCurrent(ih *iup.Ihandle) int { return int(C.IupGLIsCurrent(ih.C())) }
func MakeCurrent(ih *iup.Ihandle) { C.IupGLMakeCurrent(ih.C()) }