<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=238262319-23022006><FONT face=Arial 
color=#0000ff size=2>I currently use RenderText as well, but I am not too happy 
with the results. Its usually a bit too blurry, or too sharp. Never quite 
right.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=238262319-23022006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=238262319-23022006><FONT face=Arial 
color=#0000ff size=2>A recent post on the graphics 32 newsgroup 
news.graphics32.org&nbsp;suggested using GDI+ to render to a TBitmap32 for text, 
thick lines etc.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=238262319-23022006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=238262319-23022006><FONT face=Arial 
color=#0000ff size=2>Look for the "Slow ellipses, even TCanvas drawing 
quicker!".</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=238262319-23022006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=238262319-23022006><FONT face=Arial 
color=#0000ff size=2>You can also use normal canvas drawing with 
TBitmap32.Canvas, but you won't get antialiasing, or alpha 
channels.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=238262319-23022006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=238262319-23022006><FONT face=Arial 
color=#0000ff size=2>Stacey</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> delphi-bounces@ns3.123.co.nz 
[mailto:delphi-bounces@ns3.123.co.nz] <B>On Behalf Of </B>Rob van der 
Linde<BR><B>Sent:</B> Friday, 24 February 2006 0:37 a.m.<BR><B>To:</B> 
grant@sitedoc.com.au; NZ Borland Developers Group - Delphi 
List<BR><B>Subject:</B> Re: [DUG] Using TextOut with Graphics 32 
package<BR></FONT><BR></DIV>
<DIV></DIV>I use D7 and the latest version of Graphics32. I have had problems 
with TextOut on a TBitmap32 in the past too, where it would always draw a black 
box as the background underneath the text. I tried playing around setting the 
brush fill style and a few other things (this was a while back), but without 
luck.<BR><BR>However, the RenderText method worked for me. RenderText renders 
nicer, but it is a little slower because it can use antialiasing. But you can 
set the level of antialiasing used, so it shouldn't really be a 
problem.<BR><BR>RenderText is declared in the help file 
as:<BR><BR><B>procedure</B> RenderText(&nbsp;X, Y: 
<STRONG>Integer</STRONG>;&nbsp;<B>const</B> Text: 
<STRONG>String</STRONG>;&nbsp;AALevel: <STRONG>Integer</STRONG>;&nbsp;Color: <A 
href="../../../../GR32/Types/Color%20Types.htm#TColor32"><STRONG>TColor32</STRONG></A>); 
<BR></BODY></HTML>