Versions in this module Expand all Collapse all v1 v1.2.0 Jul 2, 2023 v1.0.1 Jan 19, 2022 Changes in this version + const BUTTON_ENTRY + const BUTTON_RADIO + const BUTTON_SPRING + const BUTTON_STICKY + const FILL_HORIZ + const FILL_NONE + const FILL_OP_0 + const FILL_OP_1 + const FILL_OP_2 + const FILL_OP_3 + const FILL_OP_4 + const FILL_OP_5 + const FILL_OP_6 + const FILL_SOLID + const FILL_VERT + type Graphics_api interface + Add_button func(bid int, x int, y int, height int, width int, label string, colour string, ...) + Add_listener func(lchan chan *sktools.Interaction) + Clear func() + Clear_subpage func(colour string) + Close func() + Close_image func(iimage interface{}) + Delete_subpage func(pname string) + Draw_arc func(xo float64, yo float64, radius float64, alpha1 float64, alpha2 float64) + Draw_circle func(xo float64, yo float64, radius float64, outline bool) + Draw_image func(xo float64, yo float64, iimage interface{}) + Draw_line func(x1 float64, y1 float64, x2 float64, y2 float64) + Draw_pie func(xo float64, yo float64, radius float64, alpha1 float64, alpha2 float64, ...) + Draw_poly func(points []*sktools.Point, outline bool) + Draw_rect func(xo float64, yo float64, height float64, width float64, outline bool) + Draw_text func(xo float64, yo float64, text string) + Drive func() + Engague func() + Mk_bounded_image func(fname string, max_height int, max_width int) (iimage interface{}, e error) + Mk_locked_subpage func(pname string, xo float64, yo float64, height float64, width float64) + Mk_page func(pname string, h int, w int, title string) error + Mk_scaled_image func(fname string, scale float64) (iimage interface{}, e error) + Mk_stacked_image func(fnames []string, max_height int, max_width int) (iimage interface{}, e error) + Mk_subpage func(pname string, xo float64, yo float64, height float64, width float64) + Pop_state func() + Press_button func(subpage_name string, button_id int) + Push_state func() + Release_button func(subpage_name string, button_id int) + Rotate func(degrees float64) bool + Select_page func(pname string) + Select_subpage func(pname string) bool + Set_colour func(cname string) + Set_dimensions func(height float64, width float64) + Set_fill_attrs func(cname string, fill_style int) + Set_font func(fname string, points int, weight int, ital bool) + Set_iscale func(increment float64) + Set_line_style func(pattern []int) + Set_line_width func(width int) + Set_page_colour func(cname string) + Set_scale func(xscale float64, yscale float64) + Show func() + Translate func(x float64, y float64) + Translate_delta func(delta_x float64, delta_y float64) + func Mk_graphics_api(kind string, output string) (Graphics_api, error)