destroyrdswindow(3) destroys windowing of a figure

SYNOPSYS

#include "rwinnn.h"
void destroyrdswindow( Figure, RdsWindow )
  rdsfig_list *Figure;
  rdswindow   *RdsWindow;

PARAMETER

Figure
The figure where has to be destroyed the windowing.
RdsWindow
Pointer to the head of windowing (rdswindow structure) to destroy.

DESCRIPTION

The destroyrdswindow function destroys the windowing applied to a figure and built with the buildrdswindow function.

RETURN VALUE

nothing

ERRORS

none

EXAMPLE

        #include "mphnnn.h"
        #include "mutnnn.h"
        #include "rdsnnn.h"
        #include "rfmnnn.h"
        #include "rwinnn.h"
        #include "rtlnnn.h"
        main()
          {
            phfig_list  *MbkFigure;
            rdsfig_list *RdsFigure;
            rdswindow   *Window;
            mbkenv();
            rdsenv();
            loadrdsparam();
            MbkFigure = getphfig("na2_y",'A');
            RdsFigure = figmbkrds(MbkFigure,0,0);
            Window    =  buildrdswindow ( RdsFigure );
            . . .
            /* */ destroyrdswindow ( RdsFigure, Window );
            . . .
          }