Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Drawing library for C#

Will someone please point me the way to the best 2D drawing library that can be used in C#? I started to look into System.Drawing.Drawing2D but then I read that I should use DirectX for best performance. I've found the DirectX SDK but it is version 9. Isn't version 11 the latest? I'm attempting to create a somewhat simple 2D application for a PC. The only thing that makes it complicated is that I'm needed to draw a large number of simple moving objects (~100,000) on a 2D map. So, I'm betting performance is important.

like image 504
bsh152s Avatar asked Jun 07 '13 16:06

bsh152s


1 Answers

You can use SharpDX, which actually provides wrappers for Direct2D. This will provide access to the "best" (or at least most current) hardware accelerated 2D drawing API for Microsoft platforms.

like image 63
Reed Copsey Avatar answered Sep 30 '22 07:09

Reed Copsey