BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Re: How can I draw Outlined text?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics
View previous topic :: View next topic  
Author Message
Graham Murt
Guest





PostPosted: Wed Jul 23, 2003 9:28 am    Post subject: Re: How can I draw Outlined text? Reply with quote



Hi Bednarik,

Quote:
How can I draw outlined text (or text with colored outline)?

You will need to use "Paths" (look in the API help under "paths)

You will need to use something like...

Canvas.Font.Size := 50;
Canvas.Font.Name := 'Arial';
BeginPath(Canvas.Handle);
SetBkMode(Canvas.Handle, TRANSPARENT);
Canvas.TextOut(20, 20, 'Outlined Text');
EndPath(Canvas.Handle);
StrokePath(Canvas.Handle);

--
GmPrintSuite Print & Print Preview Components
http://www.murtsoft.co.uk/



"Bednarik Boldizsar" <beginner (AT) eunet (DOT) yu> wrote

Quote:
How can I draw outlined text (or text with colored outline)?





Back to top
Ignacio Vazquez
Guest





PostPosted: Wed Jul 23, 2003 1:20 pm    Post subject: Re: How can I draw Outlined text? Reply with quote



"Bednarik Boldizsar" <beginner (AT) eunet (DOT) yu> wrote

Quote:
How can I draw outlined text (or text with colored outline)?

I have a component that can draw outlined text. Is that a real address?

Cheers,
Ignacio



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.