Adding Parameters viewportSize, clipRect, zoomFactor

Adding Parameters viewportSize, clipRect, zoomFactor