Antialiasing

This is a discussion on Antialiasing within the Tech Board forums, part of the Community Boards category; Hey, Im wondering if there is an easy way to draw antialiased shapes in c++. Im trying to make a ...

  1. #1
    Registered User
    Join Date
    Aug 2003
    Posts
    35

    Question Antialiasing

    Hey, Im wondering if there is an easy way to draw antialiased shapes in c++. Im trying to make a drawing application, but I cant find out how do do this. If at all possible, please include some source and what api's I must use. Thanks.
    you make me rery ascared

  2. #2
    Registered User
    Join Date
    Nov 2002
    Posts
    126
    I'm not sure this is such a good question to on the C++ board because standard C++ doesn't have any kind of graphics/drawing library, afaik. What API are you using to draw the non-antialiased shapes?

  3. #3
    Grammar Police HybridM's Avatar
    Join Date
    Jan 2003
    Posts
    355
    non-antialiased = aliased.
    antialiasing = prevent aliasing.

    This is probably one for the Windows board or Games board depending on how you want to draw the shapes.
    If you want to use Windows then ask in the windows board, if you want to use OpenGL or DirectX then games board.
    Thor's self help tip:
    Maybe a neighbor is tossing leaf clippings on your lawn, looking at your woman, or harboring desires regarding your longboat. You enslave his children, set his house on fire. He shall not bother you again.

    OS: Windows XP
    Compiler: MSVC

  4. #4
    Registered User
    Join Date
    Nov 2002
    Posts
    126
    non-antialiased = aliased.
    antialiasing = prevent aliasing.
    I was asking what API he used to draw aliased (non-antialiased) shapes because it sounded like he had success in drawing shapes that weren't antialiased. Thanks for the clarification though, I should have used better wording in my question.

  5. #5
    Wen Resu
    Join Date
    May 2003
    Posts
    219
    well windows XP does this automaticly if you tweeks some settings, but i guess thats not much help.
    you could dothe art in opengl and have it AA i guess

  6. #6
    Registered User
    Join Date
    Aug 2003
    Posts
    35

    Yea

    Its the basic win dc. CClientDC. Im just wondering because the whole antialiasing thing had to come from somewhere, you couldnt just say draw antialiased. so Im wondering if there is an algorithm that I could use to composite the background with the outline of the shape or to make some pixels on the outside transparent in a antialiasing way. Sorry if thats a bad way to explain it, basically what Im trying to say is that Im not so much interested in achieving the result as I am in understanding how to get there. And with using the most basic windows graphics api. Thanks
    you make me rery ascared

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Antialiasing in GIMP
    By sean in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 12-01-2003, 05:32 PM
  2. *nix nVidia driver antialiasing
    By frenchfry164 in forum Tech Board
    Replies: 8
    Last Post: 09-10-2003, 09:35 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21