2010/8/7 Stephan Assmus <superstippi@xxxxxx>: > > Yes, refactoring that would be cool. It's been a while that I looked closely > at this code, but I would have to to give a decent answer. I am leaning > towards ServerWindow, but I am at the same time wondering why it can't be in > DrawingEngine. There is probably a reason... :-} > Because before drawing, we need to handle the coordinate conversion, and in general do some housekeeping. From what I saw, DrawingEngine expects screen coordinates already.