flood erase in Paint tool

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

flood erase in Paint tool

K. K. Subramaniam
Hi,

I wonder if there is an easier way to paint shapes with holes in them by
methods other than by erasing pixels at a time? For instance, a nut can
be drawn by putting a small circle in a larger hexagon and flooding it
(the circle) with "transparent" paint.

Is it possible to "unfill flood" (i.e. flood an area with 100%
transparency) with the Paint tool in Squeak?

Thanks in advance. I really like the way you folks respond quickly and
precisely to newbie queries.

Subbu
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: flood erase in Paint tool

Scott Wallace-2
Hi, Subbu,

First, decide on a color to represent "transparent," and then in the  
paint tool, paint with that color everywhere that you intend to be  
transparent.

After saving the painting and exiting from the paint tool, bring up  
the halo on the resulting SketchMorph, and from its halo menu choose  
the last item, 'painting...' and from the submenu choose "erase  
pixels of color...".  In the resulting "eyedropper" cursor mode,  
click on the color you chose to represent transparency, and you're done.

Cheers,

   -- Scott


On Apr 24, 2007, at 11:47 PM, subbukk wrote:

> Hi,
>
> I wonder if there is an easier way to paint shapes with holes in  
> them by
> methods other than by erasing pixels at a time? For instance, a nut  
> can
> be drawn by putting a small circle in a larger hexagon and flooding it
> (the circle) with "transparent" paint.
>
> Is it possible to "unfill flood" (i.e. flood an area with 100%
> transparency) with the Paint tool in Squeak?
>
> Thanks in advance. I really like the way you folks respond quickly and
> precisely to newbie queries.
>
> Subbu
> _______________________________________________
> Beginners mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/beginners

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: flood erase in Paint tool

Bert Freudenberg
Actually, you can just use the fill bucket with the "no color" (on  
top of the rainbow gradient chooser) to erase stuff.

- Bert -

On Apr 25, 2007, at 9:55 , Scott Wallace wrote:

> Hi, Subbu,
>
> First, decide on a color to represent "transparent," and then in  
> the paint tool, paint with that color everywhere that you intend to  
> be transparent.
>
> After saving the painting and exiting from the paint tool, bring up  
> the halo on the resulting SketchMorph, and from its halo menu  
> choose the last item, 'painting...' and from the submenu choose  
> "erase pixels of color...".  In the resulting "eyedropper" cursor  
> mode, click on the color you chose to represent transparency, and  
> you're done.
>
> Cheers,
>
>   -- Scott
>
>
> On Apr 24, 2007, at 11:47 PM, subbukk wrote:
>
>> Hi,
>>
>> I wonder if there is an easier way to paint shapes with holes in  
>> them by
>> methods other than by erasing pixels at a time? For instance, a  
>> nut can
>> be drawn by putting a small circle in a larger hexagon and  
>> flooding it
>> (the circle) with "transparent" paint.
>>
>> Is it possible to "unfill flood" (i.e. flood an area with 100%
>> transparency) with the Paint tool in Squeak?
>>
>> Thanks in advance. I really like the way you folks respond quickly  
>> and
>> precisely to newbie queries.
>>
>> Subbu
>> _________


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: flood erase in Paint tool

K. K. Subramaniam
On Wednesday 25 April 2007 2:21 pm, Bert Freudenberg wrote:
> Actually, you can just use the fill bucket with the "no color" (on
> top of the rainbow gradient chooser) to erase stuff.
Bert,

You made my day! I made my first "donut" in squeak!

The "no color" looked like a title bar. I didnt realize it is a pickable
color.

Thanks .. Subbu

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners

donut.jpg (4K) Download Attachment