need help

This is a discussion on need help within the C Programming forums, part of the General Programming Boards category; Hi, I making paintbursh like application using graphics.But iam getting some problem.Help me.I need coding of eraser.That is if a ...

  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,796
    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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21