set layout contur page
contour drawing works with rectangle