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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Blurring a line with GDI+? 1

Status
Not open for further replies.

Sypher2

Programmer
Oct 3, 2001
160
US
I would like to draw some lines using the Graphics class. That's the easy part.

Is there a way to apply a blur to these lines? Something like a gaussian blur. The objective here is to make the lines appear "glowing" or fuzzy.

I'm thinking I may have to draw a lighter shade of the same color one pixel off of the main line. Perhaps a linear gradiant brush would need to be used.

Thanks for any help
 
You could try using a linear gradiant behind the line, slight larger. I'm not sure if there is any blur filter built into the GDI+, but I think it would have to be in there someplace, IE supports it as a CSS style.

-Rick

----------------------

[monkey] I believe in killer coding ninja monkeys.[monkey]
 
The dropshadow wasn't exactly what I was looking for, but the main FAQ page on that site had some valuable information. There was a FAQ about halos and auras. Very nice. Thanks.
 
It's more or less using the same technique in both by changing the size of an original image. But it is a very good site. I've read most of it at one time or another.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top