Hey,
I'm trying to make a Semi-Circle percentage bar in U8glib. Thus far I have mapped out the empty bar.

I would like to fill this bar by percentages so say I have 50% battery charge I want to reflect this in my bar, and have it 50% full and the same for any other percentage. This would be filled from left to right.
My question is how can I do this, I can't see any useful functions for this in the u8glib wiki.
Thanks for any help.