Thread: need help

  1. #1
    vk
    Guest

    need help

    Hi,

    I making paintbursh like application using graphics.But iam getting some problem.Help me.I need coding of eraser.That is
    if a person draw a circle and want to erase it then it should work like eraser of windows paintbursh.Help me.It is urgent

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    It depends on what graphics libraries you're using, but the easiest way is to simply draw the background color over whatever else has been drawn in whatever shape you choose for your erasor.

    -Prelude
    My best code is written with the delete key.

Popular pages Recent additions subscribe to a feed