Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Drawing a "soft edge"

Status
Not open for further replies.

tviman

Programmer
Jul 25, 2002
2,123
US
I'm sorry gang, I was sure that I'd seen this here before but I'll be darned if I can find it now.

What I want to do it to draw a solid colored square with one edge "soft", ie: I don't want to see a hard edge. Is this possible?

There's always a better way. The fun is trying to find it!
 
Just do a linear fill on your box and set one colour, ie. the right side colour, to a 0 alpha.

Adam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top