I recently started learning WPF. In my program I need to draw a picture at runtime and display it. It seems that I should use Image class, but how should I paint the picture and disp开发者_如何学Clay it? Using windows forms I would initialize Graphics and draw in a Bitmap displaying it in a PictureBox. Can I do something simmilar in WPF? Thanks.
plenty of examples here in SO:
Drawing Pixels in WPF
WPF Canvas - Single Pixel Grid
http://msdn.microsoft.com/en-us/library/ms747393.aspx
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论