 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
kaiousama Guest
|
Posted: Fri Sep 10, 2004 12:08 pm Post subject: Drawing outline around text |
|
|
Can you suggest me how to draw outline around text, standard textout() procedure draws the text but without the outline.
Thanks.
|
|
| Back to top |
|
 |
Andrew Jameson Guest
|
Posted: Fri Sep 10, 2004 12:27 pm Post subject: Re: Drawing outline around text |
|
|
Look at DrawText ... you can use the flag DT_CALCRECT which then return a
TRect that defines the text outline without actually drawing the text ...
you then use DrawText again to draw the text and then you can draw the
outline based on the TRect.
Andrew
"kaiousama" <kaiou (AT) sama (DOT) com> wrote
| Quote: |
Can you suggest me how to draw outline around text, standard textout()
procedure draws the text but without the outline.
Thanks.
|
|
|
| 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
|
|