Selected face: getting clicks and drawing

I am looking for some tips on getting clicks and drawing onto the selected face. This would just be in the viewport and not meant to persist. I am trying to build a custom method of drawing edges onto a face.

I realize this is vague, but I am just looking for some code examples for some hints.