Does windows provide Anti aliasing for gdi drawn lines, curves (other than fonts)?
If so, how can I enable it?
MSDN gave results all relating to Direct X.
Does windows provide Anti aliasing for gdi drawn lines, curves (other than fonts)?
If so, how can I enable it?
MSDN gave results all relating to Direct X.
With gdi, no.
CProgramming FAQ
Caution: this person may be a carrier of the misinformation virus.
That means with something else I can?
If so what is it?
(Thinking about starting to learn opengl but, but for the trivial app I'm intending I would rather have something simpler.)
P.S. Its yet another desktop clock (analog looking type with meedles) tha I am thinking of doing.
Last edited by arjunajay; 08-14-2006 at 08:33 PM.
The only anti-aliasing in Windows is for fonts. AFAIK there are not any API functions that deal with AA. Obviously they are there since the True-Type fonts use it, but it has not been exposed to us lowly third party peasants yet.
Look into GDI+
"...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers
I dont' think I have gdi+. Atleast I have'nt seen header files and the like. It it available for MFC only? cause I use mingw gcc.
Yeah, I saw a Function which sets the antialiasing (SetSmoothingMode()).
Last edited by arjunajay; 08-15-2006 at 10:37 AM.
GDI+ has nothing to do with MFC. Have a look here:
http://msdn.microsoft.com/library/de...us/GDIPlus.asp
With a little searching you should be able to get started.
"...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers
As I said, I don't have the header files.
But I'll look for some updates.
Thanks for the help