阅读背景:

我应该为每个Paint请求创建新的Pens / Brushes还是在整个应用程序生命周期中保留它们?

来源:互联网 

I have an application that does a lot of drawing, let's pretend it's a Viso-like application. It has objects that have multiple sub-objects that are drawn, things can be connected, resized etc. Currently when I call paint on a particular sub-object or object, I do the following: of drawin




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: