Separate common drawing services to ComplexFunctionWindow