🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.lisp.mcl
Article #693

Re: flooding region w/ paint -- how?

#693
From: lynch
Date: Tue, 05 Jan 1993 23:22
20 lines
1101 bytes
>You know how in MacPaint and similar paint programs you can click on a
>pixel and fill the surrounding region with paint?  
>
>I need to do this -- i.e., given a graphics window whose contents I
>know nothing about, and a pixel, flood the region around that pixel
>with paint.  B/W is ok, tho' color would be useful.
>
>I don't suppose there is a primitive quickdraw command for this? :-) 
>Suggestions?
>
>Thanks for your kind attention.

I believe the ToolBox routine you want is call SeedFill, or SeedCFill.

When I last attempted to make it work, I failed miserably.

Good luck.
-- 
--
-- "TANSTAAFL" Rich lynch@ils.nwu.edu
Technical Details
Message-ID: <9301052322.AA13804@aristotle.ils.nwu.edu>
Path: arc1-ca.pugleaf.net!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

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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
From: lynch@ils.nwu.edu
Newsgroups: comp.lang.lisp.mcl
Subject: Re: flooding region w/ paint -- how?
Message-ID: <9301052322.AA13804@aristotle.ils.nwu.edu>
Date: 5 Jan 93 23:22:59 GMT
Sender: info-mcl-request@cambridge.apple.com
Lines: 20
Approved: comp.lang.lisp.mcl@Cambridge.Apple.C0M