Board index » delphi » Antialias'ed text?

Antialias'ed text?

I have an app that draw text on a bitmap, made in Delphi 4.
But how do I make the text antialias'ed?

Can I somehow use the Window system, are there some components out there
that will do the trick or have I just overlooked some simple solution?

Anyone got any suggestions?

/Bjarne

  bgr.vcf
< 1K Download
 

Re:Antialias'ed text?


Quote
Bjarne G. Rasmussen wrote in message <36ADDBC2.5FFC4...@usa.net>...
>I have an app that draw text on a bitmap, made in Delphi 4.
>But how do I make the text antialias'ed?

>Can I somehow use the Window system, are there some components out there
>that will do the trick or have I just overlooked some simple solution?

There was an article "Rough around the Edges -- Antialiasing in Delphi" by
Rod Stephens in the April1998 Delphi Informant.  You can download his code
in DI9804RS.ZIP from www.informant.com/delphi.  If I remember correctly,
however, the example was with the very slow Pixels property instead of the
much faster Scanline.

Look for this link and one about SmoothLn under "Antialisasing" in the
Section C, Image Processing, at:
www.efg2.com/lab/library/delphi/graphics/algorithms.htm

efg
_________________________________
efg's Computer Lab:       www.efg2.com/lab
Delphi Books:  www.efg2.com/lab/TechBooks/Delphi.htm

Earl F. Glynn     E-Mail:  EarlGl...@att.net
Overland Park, KS  USA

Other Threads