[squeak-dev] Help: coloring anti-aliased text

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

[squeak-dev] Help: coloring anti-aliased text

K. K. Subramaniam
Hi,

Is there a method in Squeak to color (say with color C) an anti-aliased text?

The transparent areas should remain transparent, while black to white areas
should take on C to white (essentially the top half of the ColorPickerMorph
at C). The luminance should remain unchanged.

TIA .. Subbu

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Help: coloring anti-aliased text

Derek O'Connell-2
On Fri, Jul 25, 2008 at 8:02 PM, K. K. Subramaniam <[hidden email]> wrote:
> Hi,
>
> Is there a method in Squeak to color (say with color C) an anti-aliased text?
>
> The transparent areas should remain transparent, while black to white areas
> should take on C to white (essentially the top half of the ColorPickerMorph
> at C). The luminance should remain unchanged.
>
> TIA .. Subbu

Hi Subbu, you want text with a colour gradient? Try using text as the
screen in a ScreeningMorph.