WPF - 3000 rectangles - render speed
Thx MCMoser and DutchMarcel for answers, I'll investigate more and let you know what happened.
View ArticleWPF - 3000 rectangles - render speed
Charles Petzold has a nice article about optimizing performance over here:http://msdn.microsoft.com/en-us/magazine/dd483292.aspxhth,Marcel
View ArticleWPF - 3000 rectangles - render speed
set all rects to 0,0, then then translatetransform is always done relative to this position, otherwise you may get a problem to know which rect is where.something like:Canvas.SetLeft(rect,...
View ArticleWPF - 3000 rectangles - render speed
yes I do use such a codeCanvas.SetLeft(_rect, rc.Left); Canvas.SetTop(_rect, rc.Top); _rect.Width = rc.Width; _rect.Height = rc.Height; how would I use TranslateTranform? I guess first time I need to...
View ArticleWPF - 3000 rectangles - render speed
If you are using a canvas, I'm assuming that you are using Canvas.X and Canvas.Y to position your rectangles.The problem is that everytime you're modifying one of these properties the whole layouting...
View ArticleWPF - 3000 rectangles - render speed
HiI have a chart component that displays bunch of rectangle with gradient brush. The speed is fine until the chart has under 1000 rectangle, after that speed slows down drastically. However, I used...
View Article