Provided by: alliance_5.0-20120515-6_amd64 bug

NAME

       delrdsrecwindow - deletes a rectangle from the windowing of rds structure.

SYNOPSYS

       #include "rwinnn.h"
       void delrdsrecwindow( Rectangle, RdsWindow )
          rdsrec_list ∗Rectangle;
          rdswindow   ∗RdsWindow;

PARAMETER

       Rectangle           The rectangle to delete from the windowing.

       RdsWindow           Pointer to the windowing of rds structure.

DESCRIPTION

       The  delrdsrecwindow function deletes a rectangle from the windowing of the rds structure.
       Some fields of the rectangle structure are modified :
       Field ´USER´ is set to NULL.
       Field ´FLAGS´ is modified (bits about the windowing - see librds : the  field  ´FLAGS´  of
       rdsrec_list structure).

RETURN VALUE

       nothing

ERRORS

       none

EXAMPLE

               #include "mutnnn.h"
               #include "rdsnnn.h"
               #include "rwinnn.h"
               #include "rtlnnn.h"
               typedef struct UserStruct
                {
                  void ∗POINTER;
                } UserStruct;
               main()
                 {
                   rdsfig_list ∗Figure;
                   rdsrec_list ∗Rectangle;
                   rdswindow ∗RdsWindow;
                    mbkenv();
                    rdsenv();
                    loadrdsparam();
                    Figure = addrdsfig( "core",sizeof ( UserStruct ) );
                    Rectangle =
                      addrdsfigrec(Figure,"Alu1",RDS_ALU1,2,4,5,1);
                   RdsWindow = allocrdswindow();
                   RdsWindow->XMIN = -200;
                   RdsWindow->YMIN = -200;
                   RdsWindow->XMAX =  200;
                   RdsWindow->YMAX =  200;
                   RdsWindow->DX   =  4;
                   RdsWindow->DY   =  4;
                   RdsWindow->SIDE =  100;
                   RdsWindow->SIZE =  RdsWindow->DX  RdsWindow->DY ;
                   RdsWindow->WINTAB = allocrdswin( RdsWindow->SIZE );
                   addrdsrecwindow( Rectangle, RdsWindow );
                   . . .
                   /∗ ∗/ delrdsrecwindow( Rectangle, RdsWindow );
                   . . .
                 }

SEE ALSO

       librwi, addrdsrecwindow