<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial size=2>If you don't have any success with RenderText(), I 
suggest you download the Jedi code library and try using&nbsp;TJclBitmap32. You 
can assign a TBitmap and then use the object methods to draw lines/text etc over 
it.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Todd.</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=stacey@cjntech.co.nz href="mailto:stacey@cjntech.co.nz">Stacey 
  Verner</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=delphi@ns3.123.co.nz 
  href="mailto:delphi@ns3.123.co.nz">NZ Borland Developers Group - Delphi 
  List</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, February 24, 2006 8:27 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [DUG] Using TextOut with 
  Graphics 32 package</DIV>
  <DIV><BR></DIV>
  <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>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Delphi mailing 
  list<BR>Delphi@ns3.123.co.nz<BR>http://ns3.123.co.nz/mailman/listinfo/delphi<BR>
  <P>
  <HR>

  <P></P>No virus found in this incoming message.<BR>Checked by AVG Free 
  Edition.<BR>Version: 7.1.375 / Virus Database: 267.15.11/264 - Release Date: 
  17/02/2006<BR></BLOCKQUOTE></BODY></HTML>