bitblip in c#

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have been looking through the Graphics methods but I haven't really been
able to figure out the right way to bitblip. What I want to do is move the
graphics on a panel when the user hits a control key and redraw the line of
pixels on whichever side is empty. So how do I bitblip the current image over
without having to redraw the whole thing?
 
Your best option for this is to use interop and the ScrollWindow API. This
is a wee bit faster than a bitblit I think.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
 
Back
Top