[.net] bitblt in c#

Started by
1 comment, last by Rob Loach 17 years, 5 months ago
What options do i have if i want to do some basic bitblt functions with c#? Nothing fancy, no games or anything, just copying parts of imageboxes around in a form. Do I have to use DirectX for something like that? Thanx for any help

Making Terralysia, wishlist now on Steam <3!

Advertisement
Take a look at the Graphics class. It basically provides all access to GDI+ functionality. If you are going to be painting on a form, do your drawing in the form's Paint event (or any Control's paint event, for that matter.) The Graphics class has quite a comprehensive list of members that allow you to draw almost anything, but they are slow when compared to using DirectX.
Mike Popoloski | Journal | SlimDX
You might actually have more fun using a library like SDL.NET. It'll run faster then BitBlt, and is pretty much made for 2D graphics.
Rob Loach [Website] [Projects] [Contact]

This topic is closed to new replies.

Advertisement