Also i need to be able to draw arcs in user defined locations. My current code only lets me put it in one location in my picturebox. Here is my code:
if (DrawShape == 3)
{
g.Clear(Color.Transparent);
g.DrawImage(StoredImage, 0, 0);
g.DrawArc(Pens.Indigo, pictureBox1.Size, e.Location.X - MousePosition.X,e.Location.Y - MousePosition.Y);
}
Thanks
When you do g.Clear() it clears whatever is in the picture box. Remove that line and you should be able to draw more.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.