Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Howto CDC::TextOut funtion With Anti-alias.....

137 views
Skip to first unread message

hee un, shin

unread,
Feb 16, 2000, 3:00:00 AM2/16/00
to
I want use in CDC::TextOut funtion with Anti-Alias.
also display prop not check anti-alias...

how to...?

Thanx reading.... have a nice day...

Farhan Noor Qureshi

unread,
Feb 16, 2000, 3:00:00 AM2/16/00
to
I don't any API for Anti-Aliasing. You'll have to write your algo for this.

"hee un, shin" <som...@tomato.co.kr> wrote in message
news:efZxNuFe$GA.282@cppssbbsa04...
: I want use in CDC::TextOut funtion with Anti-Alias.

:
:

Brian Johnson

unread,
Feb 16, 2000, 3:00:00 AM2/16/00
to
There is also a default setting to do this for you in Windows, by selecting
the Font Smoothing option on your desktop settings (under the Effects Tab).
But other than that, it's the hard way :)...

John Bundgaard

unread,
Feb 16, 2000, 3:00:00 AM2/16/00
to
Use the ANTIALIASED_QUALITY flag in LOGFONT.lfQuality.
Use CreateFontIndirect() to create the font.

From MSDN:

Windows NT 4.0 and later: Font is always antialiased if the font supports it
and the size of the font is not too small or too large.
Windows 95 and later: In addition to the comments for Windows NT, the
display must greater than 8-bit color, it must be a single plane device, it
cannot be a palette display, and it cannot be in a multiple display monitor
setup. In addition, you must select a TrueType font into a screen DC prior
to using it in a DIBSection, otherwise antialiasing does not occur

"Brian Johnson" <bjohns...@yahoo.com> wrote in message
news:38aaf...@news1.mweb.co.za...

Brian Johnson

unread,
Feb 17, 2000, 3:00:00 AM2/17/00
to
Not as hard as I had thought *lol* :)... Thanks for the info <g>...

John Bundgaard <cfp...@vip.cybercity.dk> wrote in message
news:#ZGwTYMe$GA.269@cppssbbsa05...

0 new messages