circular text

Started by Robert Rioja, August 31, 2016, 08:29:47 PM

Previous topic - Next topic

Robert Rioja

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

Wilko Verweij

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

Robert Rioja

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

José Roca

Of course not. FONT is a DDT only thingy.


Wilko Verweij

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

Robert Rioja

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

Marc Pons

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...

Robert Rioja

Thank you Marc.  I will try it and if I can make it work, I will post a FF example.
Robert