Be open minded. This is a cross platform library with several features: - Text drawing engine. - Text layout engine. - BBCode parser. - Two custom views that connect everything: BBCodeView - multiline, scrollable with support for embedded views. BBLabel - lightweight label. - NEW...
Be open minded. This is a cross platform library with several features: - Text drawing engine. - Text layout engine. - BBCode parser. - Two custom views that connect everything: BBCodeView - multiline, scrollable with support for embedded views. BBLabel - lightweight label. - NEW...
This was the initial purpose behind BCTextEngine. The first test revealed that it will not work due to antialiasing which means that you cannot take nicely drawn text and simply rotate it. The result is very bad.
BCTextEngine has turned to something else (more important).
You will need to use B4XCanvas for the rotated text. You can draw it with the canvas and then draw it over BitmapCreator.
Unfortunately I know, in the sense that I drew a wheel with N sectors, drew some text in the "central" one, rotated the wheel and continued in this way for each sector. The result:
(to tell the truth I have already forgotten the method I used ; however, after writing the text, on each rotation the previously drawn texts lost quality, as you can see).
I'm trying and I must say that it is not so simple to calculate the radius for each letter.
Using B4XCanvas you can get a B4XRect for a single character which have Width & Height but depending on the angle you don't know which to use, the character is not squared.