destroyrdswindow(3) - Linux man page

Name

destroyrdswindow - 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 );
            . . .
          }

See Also

librwi, buildrdswindow, allocrdswindow, viewrdswindow