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.
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
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?
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
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.non-antialiased = aliased.
antialiasing = prevent aliasing.
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
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