How to: Drawing text within a circle for round devices

Hi folks — last week, I threw together a widget that displayed tweets from the CIQ Summit.

Here's what it looks like;
https://apps.garmin.com/en-AU/apps/0e10502e-6671-46b1-bbc4-ce33c374ea82

One of the issues I faced, was to display a paragraph of text within a rectangle, semi-round, or round screen — and use up all the real-estate. CIQ doesn't provide text-boxes for you to populate and auto-wrap multi-line content, and I couldn't find an example on the forum — so I built my own small thing.

I thought it might be worth sharing. It's not perfect, and there's bugs with carriage returns.

Find the source code here;
https://github.com/sunpazed/garmin-ciqsummit17