I want to draw using cairo to a window on the mac. I want to use just C (not objective-c) with as little as possible infrastructure. I also don't want to use a event loop (I understand that cuts out interaction, redrawing by moving etc). In essence, I really just want to draw to the screen (window) as I would to a image file.
Can someone point me to an example or tutorial or something?
Thanks in advance.