Okay. I get it :) I have implemented various clipping before (also on lines) so here we go again. But might have a look at Thierry's code for line clipping (if there are line support).
I will implement the wrappers for it (as I do anyway), that can take care of clipping.
Actually I miss completly that DWORDs are unsigned :(
Anyway, keep up the good work.