On Wed, Jul 23, 2008 at 5:57 AM, Vivek R <[EMAIL PROTECTED]> wrote: > I have a code to draw a line ... draw a pixcel ... > I want draw using a mouse .....
Operating system? If you know how to draw a pixel, then for free hand drawing, you just need to find the current coordinates of the mouse pointer when the left button is pressed and draw a pixel (or, better yet, get current brush size and paint that). If the button is held, you need to keep drawing pixels, but only if the position changes. -- Brett ------------------------------------------------------------ "In the rhythm of music a secret is hidden; If I were to divulge it, it would overturn the world." -- Jelaleddin Rumi
