Flow/wrap text into an irregular shape

prothero at earthednet.org prothero at earthednet.org
Sat Dec 28 14:32:47 EST 2013


Jim:
Thanks for the sample program. I downloaded it and went through the code. It's a nice way of doing line drawing. I have been drawing directly into an image object to get a large number of symbols on a map, like Colin's sample draw program. But, for charts, your method looks like it will be very useful. 
Best,
Bill

William Prothero
http://es.earthednet.org



On Dec 28, 2013, at 4:59 AM, Jim Hurley <jhurley0305 at sbcglobal.net> wrote:

> Hi Roger,
> 
> This is a voice from the past, using Turtle Graphics to print text along any graphic line.
> 
> GO TO CARD 3 where the text "This is a parabola" is printed along a parabola.
> 
> You might be able to do this with your triangle, drawing each side in small steps.
> 
> 
> Run this in the msg box:
> 
>   go stack url "https://dl.dropboxusercontent.com/u/47044230/TextAlongPath.livecode"
> 
> Jim Hurley
> 
> 
>> 
>> Message: 6
>> Date: Fri, 27 Dec 2013 11:20:24 -0500
>> From: Roger Eller <roger.e.eller at sealedair.com>
>> To: How to use LiveCode <use-livecode at lists.runrev.com>
>> Subject: Flow/wrap text into an irregular shape
>> Message-ID:
>> 	<CAAT6EXPFGN7yjhhL+4F-VB0zs+8z=Eyw-8Qk5PWMD62p4k_M8Q at mail.gmail.com>
>> Content-Type: text/plain; charset=ISO-8859-1
>> 
>> Imagine a multi-line text field which overlays a triangle polygon, which
>> is wide at the top, and comes to a point at the bottom.  I want the text to
>> detect the edges of the triangle and wrap at those edges.  The result would
>> be a triangle shaped body of text (centered).  My question to you is "How
>> can this be achieved?"
>> 
>> ~Roger
>> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the Use-livecode mailing list