How to draw graphics as efficiently as possible in WPF

后端 未结 3 683
情歌与酒
情歌与酒 2021-01-31 05:05

I am creating a tool which relies heavily on graph-node trees. The current implementation is done in Java and I\'m porting it to a generic code-base on C#, so it can be used by

3条回答
  •  生来不讨喜
    2021-01-31 05:26

    I'd recommend reading Optimizing Performance: 2D Graphics and Imaging (dead link -- readable via Internet Archive) -

    Basically, Drawing objects will be lighter weight than Shapes, in general. This is probably what you want to use.

提交回复
热议问题