🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
3 messages
3 total messages Started by Renald Yazmir Wed, 15 Aug 2007 17:27
Converting character to an array of lines and arcs
#1400
Author: Renald Yazmir
Date: Wed, 15 Aug 2007 17:27
16 lines
1290 bytes
Hello



I need to convert any character to an array of lines and arcs, so instead of 
draw text I will use draw line or draw arc functions.

Is there a way to do it by using for standard windows API function?



Thank you,



Rony.
Re: Converting character to an array of lines and arcs
#1402
Author: Alan Bellingham
Date: Wed, 15 Aug 2007 17:17
13 lines
1293 bytes
"Renald Yazmir" <renald@partmaker.com> wrote:

>I need to convert any character to an array of lines and arcs, so instead of 
>draw text I will use draw line or draw arc functions.
>
>Is there a way to do it by using for standard windows API function?

It looks as though GetGlyphOutline() is what you want.

Alan Bellingham
-- 
Team Browns
ACCU Conference 2008: 2-5 April 2008 - Oxford (probably), UK
Re: Converting character to an array of lines and arcs
#1408
Author: Damon Chandler (TeamB)
Date: Sun, 19 Aug 2007 04:08
19 lines
1466 bytes
Hi Renald,

In addition to Alan's suggestion, I thought I'd mention that the 
GetPath() GDI function can be used to retrieve basic polygon 
information.  See the following page for an example...

http://www.geocities.com/foetsch/extrude/extrude.htm#texttopoly

Cheers,
--
Damon Chandler (TeamB)
C++Builder Developer's Journal
http://bcbjournal.com
http://bcbjournal.org


Renald Yazmir wrote:
> I need to convert any character to an array of lines and arcs, so instead of 
> draw text I will use draw line or draw arc functions.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads