🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5156

Re: Text Drawing

#5156
From: alfred
Date: Mon, 26 Sep 2005 19:58
21 lines
1350 bytes
If you use TextOut or TextOutA :

Canvas->Brush->Style = bsClear;
Canvas->TextOutA(X,Y,Text);

Have fun
Alfred


"JD" <nospam@nospam.com> wrote:
>
>I want to be able to draw text without painting the backgound
>and without the text drawing function overwriting the
>background. IOW, I want to draw just the pixels that represent
>the text.
>
>How can I do this?
>
>~ JD
>
Technical Details
Message-ID: <433852eb$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon06.news.prodigy.com!newscon02.news.prodigy.com!prodigy.net!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <43382612$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d5c508c430317f10
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "alfred" <alfredo@freemail.it>
Sender: "alfred" <alfredo@freemail.it>
Reply-To: "alfred" <alfredo@freemail.it>
Subject: Re: Text Drawing
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 82.50.163.216     
References:  <43382612$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <433852eb$1@newsgroups.borland.com>
Date: 26 Sep 2005 12:58:35 -0700
X-Trace: newsgroups.borland.com 1127764715 207.105.83.66 (26 Sep 2005 12:58:35 -0700)
Lines: 22
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon06.news.prodigy.com!newscon02.news.prodigy.com!prodigy.net!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail