 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Phuoc Can HUA Guest
|
Posted: Fri Jul 11, 2003 4:00 am Post subject: How to get Outlined Fonts? |
|
|
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
|
Posted: Sat Jul 12, 2003 2:02 am Post subject: Re: How to get Outlined Fonts? |
|
|
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
|
Posted: Mon Jul 14, 2003 1:47 am Post subject: Re: How to get Outlined Fonts? |
|
|
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
|
Posted: Mon Jul 14, 2003 6:11 pm Post subject: Re: How to get Outlined Fonts? |
|
|
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 |
|
 |
|
|
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
|
|