drawing with translucent ink?

Craig Latta Craig.Latta at NetJam.ORG
Tue Mar 12 21:56:47 UTC 2002


Hi--

	Okay, here's another one. :)

	Is it possible to draw on the Display with a Pen that has a translucent
color? I tried the snippet below and got an opaque line. Is there some
more sophisticated way to achieve the same effect (e.g., using morphs)?


	thanks again,

-C

***

| pen |

pen _ Pen new.

pen
	color: (Color red alpha: 0.3);
	roundNib: 10;
	down;
	goto: 100 at 100

***

--
Craig Latta
composer and computer scientist
craig.latta at netjam.org
www.netjam.org
crl at watson.ibm.com
To quote is human, to paraphrase divine.



More information about the Squeak-dev mailing list