PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Robert Rioja on August 31, 2016, 08:29:47 PM

Title: circular text
Post by: Robert Rioja on August 31, 2016, 08:29:47 PM
Does anyone know how to make text go around a circle?  I believe that RichEdit version 4 has the ability to specify an angle for text, so that might be helpful. But I don't know what version of RichEdit FireFly supports.  Any help would be appreciated.
Robert
Title: Re: circular text
Post by: Wilko Verweij on September 04, 2016, 04:27:17 PM
Hi Robert, I never tried this, but with the Powerbasic font statements you can specify a font angle. See FONT NEW, escapement. The other problem is to define where to print what.
Wilko
Title: Re: circular text
Post by: Robert Rioja on September 04, 2016, 05:35:03 PM
Hi Wilko,
Thanks for the tip.  I tried it but have not been able to get FF to recognize the new font and assign it to the Rich Edit control.
Robert
Title: Re: circular text
Post by: José Roca on September 04, 2016, 06:00:16 PM
Of course not. FONT is a DDT only thingy.

Title: Re: circular text
Post by: Wilko Verweij on September 05, 2016, 03:01:27 PM
Robert, I have no experience with the Rich Edit Control but I doubt whether that is going to work. Without knowing the rest  of your program, wouldn't it be better to draw the text using GDI-commands? In that case, you can even use the SET FONT if you like.
Wilko
Title: Re: circular text
Post by: Robert Rioja on September 07, 2016, 05:59:06 PM
That's too complicated for me.  I just want to be able to print text around a circle.  I thought that maybe someone had already done it.
Thanks any way.
Robert
Title: Re: circular text
Post by: Marc Pons on September 09, 2016, 01:38:03 PM
Hi

a sample done in vb6 using draw with gdi, found some years ago on net

i've tried it, it works , can be translated to freebasic or powerbasic...
Title: Re: circular text
Post by: Robert Rioja on September 18, 2016, 08:20:59 PM
Thank you Marc.  I will try it and if I can make it work, I will post a FF example.
Robert