Does anyone have an antialias (smoothing) function that they have written for straight lines. I have thrown a function together but I can either spend more time on it or be lazy and hope someone else has already made a good one :o
Printable View
Does anyone have an antialias (smoothing) function that they have written for straight lines. I have thrown a function together but I can either spend more time on it or be lazy and hope someone else has already made a good one :o
You can find all sorts of code at www.planetsourcecode.com/vb - you'll probably find some examples there.
When do you need to "smooth" straight lines?. Surely they are as smooth as possible already?
antialias makes them smooth 50 times better, nice high quality smoothQuote:
Originally posted by JordanChris
When do you need to "smooth" straight lines?. Surely they are as smooth as possible already?
:p I didnt say horizontal or vertical... merely straight.. so a 45 degree line is straight but appears jagged on screen without antialiasing... anyhow I think that there are a couple of good ones on the site that lazy Buzby pointed out :pQuote:
Originally posted by JordanChris
When do you need to "smooth" straight lines?. Surely they are as smooth as possible already?
Cheeky!Quote:
lazy buzby