RE: Win32Lib API Floodfill?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Don wrote:
> 
> 
> posted by: Don <eunexus at yahoo.com>
> 
> > > > Dont know if this would interest you, but GDI has a flood fill.
> > > > API: ExtFloodFill
> > > 
> > > Yeah, it does interest me 'cuz I was lookin' for that in
> > > msimg.dll. heh. :)
> > > 
> > > -=ck
> > > "Programming in a state of EUPHORIA."
> > > <a 
> > >
> > > href="http://www.cklester.com/euphoria/">http://www.cklester.com/euphoria/</a>
> > > 
> > 
> > Are you looking to flood to a border of a specified color or flood one 
> > color to another color?
> 
> Just an FYI.  Im am sure Brians routine will suffice.  If you still need
> the API ExtFloodFill from GDI.dll, it will also do both of these by 
> setting
> the fuFillType parameter:
> 
> FLOODFILLBORDER -
> The fill area is bounded by the color specified by the crColor 
> parameter.
> This style is identical to the filling performed by the FloodFill 
> function.
> 
> FLOODFILLSURFACE -
> The fill area is defined by the color that is specified by crColor. 
> Filling
> continues outward in all directions as long as the color is encountered. 
> This
> style is useful for filling areas with multicolored boundaries.
> 
> 
> Don Phillips - aka Graebel
>      National Instruments
>      mailto: eunexus @ yahoo.com

Uhmmm... yeah.  That's what it is... a wrapper for ExtFloodFill (for 
Win32Lib).  It's just not exactly the most straightforward thing to wrap 
and get working properly.

-- Brian

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu