?
Solved

Anti Alias GDI calls

Posted on 2001-06-22
3
Medium Priority
?
2,377 Views
Last Modified: 2012-08-13
Does anyone know how to anti alias GDI calls (LineTo Arc Etc)

small circles look terrible.


Regards


Stephen J Lake
0
Comment
Question by:lakes
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 14

Expert Comment

by:AlexVirochovsky
ID: 6218733
As I understand, you don't like GDI names and want make your own?
It is vry easy : make someting like next
#define MyLineTo LineTo
#define MyArc Arc
...
0
 
LVL 39

Expert Comment

by:abel
ID: 6219312
Anti-aliasing is a technique that is used by graphics programs to soften the edges of fonts and lines so that they appear more rounded. They do that by making the pixels near the edges not exactly the background-color, but something between the pen-color and the background color. The setting "Smooth edges of screen fonts" in Windows does exactly that.

I don't know how it is done, but the article "Five Centuries of UI Design" in MSDN Backgrounders clearly explains what is done behind the curtain. But you better read "Preparing Your Visual Basic 6.0 Applications for the Upgrade to Visual Basic.NET" and decide to use the betas now available. It explains that GDI+ supports Anti-aliasing!

The only thing I found about drawing was in the DDK: the function DIB_ExtTextOut makes it possible to draw text anti-aliased when you use the ETO_LEVEL_MODE function. But this is DDK, not SDK.
0
 
LVL 7

Accepted Solution

by:
KangaRoo earned 600 total points
ID: 6220240
DirectX may, and OpenGL will allow you to draw anti-aliased. AFAIK the standard windows GDI does nothing in that area (it is a bit more computation intensive, but just a bit).
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
Suggested Courses
Course of the Month13 days, 13 hours left to enroll

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question