Re: [racket] draw circle over bitmap and erase old circle

2010-10-27 Thread Richard Cleis
Incremental changes like this can work, but a good program design is necessary to prevent running into situations that cannot be solved with a few hacks. I cannot suggest a better way without knowing your goals. By the way, in the email I intended to paste those two lines after the definitions

Re: [racket] draw circle over bitmap and erase old circle

2010-10-27 Thread kty1104
omg it works!! thank you! although I am satisfied with this method, do you know the better way for it? , Richard Cleis 님이 작성: Insert the two lines below to see that what you want is possible, but I doubt such a quick hack is the right way to do it. rac On Oct 27, 2010, at 8:48 PM, kty

Re: [racket] draw circle over bitmap and erase old circle

2010-10-27 Thread Richard Cleis
Insert the two lines below to see that what you want is possible, but I doubt such a quick hack is the right way to do it. rac On Oct 27, 2010, at 8:48 PM, kty1...@gmail.com wrote: > hello > I finally circle the bitmap where I point by mouse > but there are several problem > 1. the circle fill

Re: [racket] draw circle over bitmap and erase old circle

2010-10-27 Thread kty1104
thank you for your replying maybe I have not enough experience to understand your advice easily now I got it what the transparent option is. I tried several change but nothing changed could you be more specify? I was thought I need to set a style option on circle but draw-bitmap doesn't have suc

Re: [racket] draw circle over bitmap and erase old circle

2010-10-27 Thread Mathew Kurian
Greetings, According to Racket Docs: Just set style- 'transparent – the canvas is automatically “erased” before an update using it’s parent window’s background; the result is undefined if this flag is combined with 'no-autoclear Hopefully that helps. Sincerely, Mathew Kurian -- Math

[racket] draw circle over bitmap and erase old circle

2010-10-27 Thread kty1104
hello I finally circle the bitmap where I point by mouse but there are several problem 1. the circle filled with white color that I can't see bitmap through the circle 2. the drawn circle didn't erased after I point another coordinates could somebody give me an little advice? my code looks me