Help with Snippet/paint. - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18) +---- Forum: Visual Basic and the .NET Framework (https://www.supportforums.net/forumdisplay.php?fid=19) +---- Thread: Help with Snippet/paint. (/showthread.php?tid=18226) |
Help with Snippet/paint. - Aero - 04-23-2011 I'm making a type of "Snippet" program that takes a screenshot of your, well screen obviously. Right now I have a capture, clear, and save button. After the screenshot is captured I want to be able to Freehand draw on it but I can't seem to figure out how. So far I have a small idea but I don't know what to do with it. Underneath the public class- Dim q As System.Drawing.Graphics And in the picture box Private Sub PictureBox1_MouseDown(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.MouseDown q.Draw.... But I don't know how to make it freehand on MouseDown. RE: Help with Snippet/paint. - Resistance - 04-23-2011 (04-23-2011, 06:08 PM)Aero Wrote: I'm making a type of "Snippet" program that takes a screenshot of your, well screen obviously. Right now I have a capture, clear, and save button. What do you mean by "freehand", do you mean when the mouse it attempting to draw on the picture or when it has already drawn on the picture? RE: Help with Snippet/paint. - Aero - 04-23-2011 Just like in paint. Left click and draw. No straight lines or circles or squares. RE: Help with Snippet/paint. - Crimson - 04-25-2011 Hmmm. Sounds like this could turn out pretty cool if you figure it out. Good luck. RE: Help with Snippet/paint. - KoBE - 04-25-2011 This is not the best way to do it.. but for the sake of simplicity I think this will work for you. Adjust the code accordingly to fit your needs Code: Public Class Form1 RE: Help with Snippet/paint. - iCrack - 05-05-2011 Check this out: http://www.dreamincode.net/forums/topic/81650-visual-basic-2008-make-advanced-paint-program/ Do not copy and paste! Learn from it! |