pub fn pnoutrefresh(
    pad: WINDOW,
    pmin: Origin,
    smin: Origin,
    smax: Origin
) -> Result<(), NCurseswError>
Expand description

The pnoutrefresh() routine is analogous to wnoutrefresh() except that they relate to pads instead of windows. The additional parameters are needed to indicate what part of the pad and screen are involved.

  • The pmin.y, pmin.x parameters specify the upper left-hand corner of the rectangle to be displayed in the pad.
  • The smin.y, smin.y, smax.y, and smax.x parameters specify the edges of the rectangle to be displayed on the screen.

The lower right-hand corner of the rectangle to be displayed in the pad is calculated from the screen coordinates, since the rectangles must be the same size. Both rectangles must be entirely contained within their respective structures. Negative values of pmin.{y,x}, smin.{y,x} are treated as if they were zero.