clip rectangl offset base band buffer param clip clip rectangl adjust clip rectangl rectangl offset window rectangl clip base clip rectangl clip base clip width math min clip height scale buffer height base 