7928: make it similar to previous GdiPlus PaintToOutputWindow()