Just asking for another piece of code won't help you. I guess we need to see your code before we can help you.

Did you allready try to draw a line on your texture, or just make a few pixels black. That would be a good start. If that works, you can use NecroDome's code to make that 1/4 circle, which is your next step.