Hello, I am working on developing an application using graphics. I' ve got a following problem. It is known, how to draw a line using Pen, Brush and so on. But is there any opportunities to erase what you've drawn? For example, I want to draw a line and then erase it or make it invisible
How do I erase lines in C#?
Started by qu20, May 09 2010 12:45 PM
4 replies to this topic
#1
Posted 09 May 2010 - 12:45 PM
|
|
|
#2
Posted 09 May 2010 - 02:17 PM
To erase a line just redraw it in the same color as the rest of the background. But I don't see the purpose of drawing a line then turning right around and erasing it, unless you want to redraw it some other place for some visual affect???
Visit Grandpa's Forums, a social networking forum, with family-oriented arcade games, blogs, discussion forums, and photo albums.
#3
Posted 09 May 2010 - 09:42 PM
Yes, I wanted to redraw a line on some other place having erased the previous one
#4
Posted 09 May 2010 - 10:31 PM
your answer is at Msdn Advanced Gdi++ using C# , please do a search at msdn :)
#5
Posted 10 May 2010 - 02:21 AM
Thanks


Sign In
Create Account

Back to top









