home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / lisp / mcl / 1936 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  1.0 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!ames!olivea!apple!cambridge.apple.com!lynch@ils.nwu.edu
  2. From: lynch@ils.nwu.edu
  3. Newsgroups: comp.lang.lisp.mcl
  4. Subject: Re: flooding region w/ paint -- how?
  5. Message-ID: <9301052322.AA13804@aristotle.ils.nwu.edu>
  6. Date: 5 Jan 93 23:22:59 GMT
  7. Sender: info-mcl-request@cambridge.apple.com
  8. Lines: 20
  9. Approved: comp.lang.lisp.mcl@Cambridge.Apple.C0M
  10.  
  11. >You know how in MacPaint and similar paint programs you can click on a
  12. >pixel and fill the surrounding region with paint?  
  13. >
  14. >I need to do this -- i.e., given a graphics window whose contents I
  15. >know nothing about, and a pixel, flood the region around that pixel
  16. >with paint.  B/W is ok, tho' color would be useful.
  17. >
  18. >I don't suppose there is a primitive quickdraw command for this? :-) 
  19. >Suggestions?
  20. >
  21. >Thanks for your kind attention.
  22.  
  23. I believe the ToolBox routine you want is call SeedFill, or SeedCFill.
  24.  
  25. When I last attempted to make it work, I failed miserably.
  26.  
  27. Good luck.
  28. -- 
  29. --
  30. -- "TANSTAAFL" Rich lynch@ils.nwu.edu
  31.