I looking function paint bucket type (dpaint ou ppaint)

Find quick help here to get you started with Hollywood
sinisrus
Posts: 347
Joined: Tue Apr 21, 2015 5:43 pm

I looking function paint bucket type (dpaint ou ppaint)

Post by sinisrus »

Hello,

I am looking function paint bucket type Dpaint or ppaint

FloodFill() fonction need an outline (he does not really do the same thing)

Thank you
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: I looking function paint bucket type (dpaint ou ppaint)

Post by airsoftsoftwair »

Can you post an illustration what you want to have? I don't really understand it from your question.
sinisrus
Posts: 347
Joined: Tue Apr 21, 2015 5:43 pm

Re: I looking function paint bucket type (dpaint ou ppaint)

Post by sinisrus »

Juste change zone of color in picture

Function similar to the filling tool of Dpaint or PPaint

https://ibb.co/gn5b5U
SamuraiCrow
Posts: 475
Joined: Fri May 15, 2015 5:15 pm
Location: Waterville, Minnesota USA

Re: I looking function paint bucket type (dpaint ou ppaint)

Post by SamuraiCrow »

@sinisrus
Are you assuming that support is strictly for palette displays?
I'm on registered MorphOS using FlowStudio.
sinisrus
Posts: 347
Joined: Tue Apr 21, 2015 5:43 pm

Re: I looking function paint bucket type (dpaint ou ppaint)

Post by sinisrus »

@SamuraiCrow

I'm sorry I do not understand your question (my english is very bad)
SamuraiCrow
Posts: 475
Joined: Fri May 15, 2015 5:15 pm
Location: Waterville, Minnesota USA

Re: I looking function paint bucket type (dpaint ou ppaint)

Post by SamuraiCrow »

What color are you trying to replace? Is it in a 256 color screenmode or high-color or true-color?
I'm on registered MorphOS using FlowStudio.
sinisrus
Posts: 347
Joined: Tue Apr 21, 2015 5:43 pm

Re: I looking function paint bucket type (dpaint ou ppaint)

Post by sinisrus »

both
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: I looking function paint bucket type (dpaint ou ppaint)

Post by airsoftsoftwair »

Should be possible to implement. I'll see what I can do.
sinisrus
Posts: 347
Joined: Tue Apr 21, 2015 5:43 pm

Re: I looking function paint bucket type (dpaint ou ppaint)

Post by sinisrus »

Very thank :-)
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: I looking function paint bucket type (dpaint ou ppaint)

Post by airsoftsoftwair »

Code: Select all

- New: If you pass #NOCOLOR as the border color to FloodFill(), borderless flood filling will be used,
  i.e. all pixels matching the color of the starting pixel will be filled 
Post Reply