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

minify - Minimizing css files -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -