#T
or 1, clip all incoming function calls
to the rectangle between the two points (i.e. no drawing will
occur outside of this zone).
The redefinition of viewport is always relative to the whole screen, using the global (user- or not) coordinates system.