Results 1 to 6 of 6

Thread: Line Antialias Function

  1. #1

    Thread Starter
    PowerPoster beachbum's Avatar
    Join Date
    Jul 2001
    Location
    Wollongong, NSW, Australia
    Posts
    2,274

    Line Antialias Function

    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
    Stuart Laidlaw
    Brightspark Financial Software
    http://www.gstsmartbook.com

  2. #2
    Frenzied Member Buzby's Avatar
    Join Date
    Jan 1999
    Location
    UK
    Posts
    1,670
    You can find all sorts of code at www.planetsourcecode.com/vb - you'll probably find some examples there.
    'Buzby'
    Visual Basic Developer
    "I'm moving to Theory. Everything works there."

  3. #3
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Newbury, UK
    Posts
    1,878
    When do you need to "smooth" straight lines?. Surely they are as smooth as possible already?

  4. #4
    Fanatic Member Geespot's Avatar
    Join Date
    Oct 2001
    Location
    Birmingham, UK
    Posts
    577
    Originally posted by JordanChris
    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 smooth

  5. #5

    Thread Starter
    PowerPoster beachbum's Avatar
    Join Date
    Jul 2001
    Location
    Wollongong, NSW, Australia
    Posts
    2,274
    Originally posted by JordanChris
    When do you need to "smooth" straight lines?. Surely they are as smooth as possible already?
    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
    Stuart Laidlaw
    Brightspark Financial Software
    http://www.gstsmartbook.com

  6. #6
    Frenzied Member Buzby's Avatar
    Join Date
    Jan 1999
    Location
    UK
    Posts
    1,670
    lazy buzby
    Cheeky!
    'Buzby'
    Visual Basic Developer
    "I'm moving to Theory. Everything works there."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width