home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / graphics / 14228 < prev    next >
Encoding:
Internet Message Format  |  1993-01-27  |  938 b 

  1. Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!swrinde!zaphod.mps.ohio-state.edu!rpi!newsserver.pixel.kodak.com!laidbak!obdient!amiserv!amiganet!kenb
  2. From: kenb@amiganet.chi.il.us (Ken Boi)
  3. Newsgroups: comp.graphics
  4. Subject: "fill" algorithm
  5. Message-ID: <kenb.0pwj@amiganet.chi.il.us>
  6. Date: 25 Jan 93 23:43:58 CST
  7. Organization: Amiga Network Information Systems
  8. Lines: 9
  9.  
  10. Could someone inform me as to how a 'fill' works in graphical painting. To
  11. clarify, I am referring to when a color is selected and a point (i.e., pixel)
  12. is selected in the picture, the new color replaces the selected pixel and all
  13. adjacent pixels of the same color. This replacement continues   until a
  14. different colored pixel is detected (a boundary). What is the algorithm for
  15. accomplishing this? Thanks.
  16.  
  17. ------------------------------------------------------------------------------
  18. kenb@amiganet.chi.il.us                                       "What me worry?"
  19.