Best canvas for drawing in wxPython?

后端 未结 2 592
没有蜡笔的小新
没有蜡笔的小新 2021-01-15 08:05

I have to draw a graph of elements composing a topological model of a physical network. There would be nodes and arches, and the latter could be unidirectional or bidirectio

相关标签:
2条回答
  • 2021-01-15 08:25

    It seems that OGL is not being updated, and in general FloatCanvas looks more modern. I don't really know deeply enough the two options.

    It seems that event capturing is easier with FloatCanvas. I would try to use it before OGL.

    0 讨论(0)
  • 2021-01-15 08:31

    I've tried FloatCanvas, although there has been a lot of work to get everything to work. I've managed to get through mouse interaction things like connectivity, movement, automatic reconnection in case of movement, etc.

    FloatCanvas is also quite nice in terms of performance and visual results. Anti-aliasing (1) (2) is also possible to improve them if necessary.

    0 讨论(0)
提交回复
热议问题