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 

How to get Outlined Fonts?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Graphics)
View previous topic :: View next topic  
Author Message
Phuoc Can HUA
Guest





PostPosted: Fri Jul 11, 2003 4:00 am    Post subject: How to get Outlined Fonts? Reply with quote



I'm putting the text to a bitmap and then shifting, reversing and copying
to get the outline effect. Is there an easier way (less CPU time)? or even
a font property?

thanks
Phuoc Can HUA

--
_/__/__/__/__/__/_
www.huaonline.com
My Homepage is my Castle
Back to top
Eudy Silva
Guest





PostPosted: Sat Jul 12, 2003 2:02 am    Post subject: Re: How to get Outlined Fonts? Reply with quote



I posted this some time ago. It might help you.

http://tinyurl.com/gpg0

Eudy

Phuoc Can HUA wrote:
Quote:
I'm putting the text to a bitmap and then shifting, reversing and
copying to get the outline effect. Is there an easier way (less CPU
time)? or even a font property?

thanks
Phuoc Can HUA





Back to top
Phuoc Can HUA
Guest





PostPosted: Mon Jul 14, 2003 1:47 am    Post subject: Re: How to get Outlined Fonts? Reply with quote



Thanks, Eudy.
It looks very complicate. Before I try that out just want to know... did it
work for you? and what about the performance? Won't it take a bit long to
process each single points in the for() loop?

Currently, I'm using RectCopy() and shifting one pixel in each direction to
get a kind of bold font (4x Copies). Then at the end, stamp the original
text with another color in the centre. I'm just not happy with the
performance of this solution. Do you think the other way could help?

Phuoc Can HUA

On Fri, 11 Jul 2003 23:02:45 -0300, Eudy Silva <eudy (AT) directnet (DOT) com.br>
wrote:

Quote:
I posted this some time ago. It might help you.

http://tinyurl.com/gpg0

Eudy

Phuoc Can HUA wrote:
I'm putting the text to a bitmap and then shifting, reversing and
copying to get the outline effect. Is there an easier way (less CPU
time)? or even a font property?

thanks
Phuoc Can HUA







--
_/__/__/__/__/__/_
www.huaonline.com
My Homepage is my Castle

Back to top
Eudy Carvalhaes C. Silva
Guest





PostPosted: Mon Jul 14, 2003 6:11 pm    Post subject: Re: How to get Outlined Fonts? Reply with quote

Phuoc,
I guess the only way to compare the performances of both
codes is to implement them and test.
It looks complicated but if you use the function I posted (BTW,
there's an open brace missing in the beginning of the function)
it works as it is.

Eudy


Phuoc Can HUA wrote:
Quote:
Thanks, Eudy.
It looks very complicate. Before I try that out just want to know... did
it work for you? and what about the performance? Won't it take a bit
long to process each single points in the for() loop?

Currently, I'm using RectCopy() and shifting one pixel in each direction
to get a kind of bold font (4x Copies). Then at the end, stamp the
original text with another color in the centre. I'm just not happy with
the performance of this solution. Do you think the other way could help?

Phuoc Can HUA



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (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.