canvas widget operations

hi there,

I am considering implementing a Tk backend for gonum/plot. it seems tcl/tk has a Canvas object that could suit all the operations needed to implement the gonum/plot Canvas interface:

  • https://pkg.go.dev/gonum.org/v1/plot/vg#Canvas
  • https://www.tcl-lang.org/man/tcl/TkCmd/canvas.htm

could it be possible to expose more of the tcl/tk canvas commands ?

(well, one would probably have to maintain a graphic context with an affine transform to handle the stack of rotations and what not, but that could probably done w/ this or that)

Edited Jan 11, 2025 by Sebastien Binet
Assignee Loading
Time tracking Loading