get_clip_ext function

Setting the clipping extent