c# - Drawing on bitmap - Winforms vs WPF -


is there difference between how drawing on bitmap (and showing bitmap) implemented using winforms vs wpf? includes more 1 point:

  1. does wpf use hardware acceleration drawing, or rendering? (is there analogous way in wpf graphics.drawrectangle etc.? guess if there isn't - point moot)
  2. does wpf use hardware acceleration rendering bitmap, or converting jpg bitmap? (picturebox vs system.windows.controls.image.)

if there is difference, there way speed winforms app using elementhost, or translated gdi+?

if there isn't - using canvas faster drawing bitmap because uses hardware acceleration, or affect rendering?

i realize might misunderstanding stuff here, feel free correct me.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -