1DELRDSRECWINDOW(3)          RDS PHYSICAL FUNCTIONS          DELRDSRECWINDOW(3)
2
3
4

NAME

6       delrdsrecwindow  - deletes a rectangle from the windowing of rds struc‐
7       ture.
8

SYNOPSIS

10       #include "rwinnn.h"
11       void delrdsrecwindow( Rectangle, RdsWindow )
12          rdsrec_list ∗Rectangle;
13          rdswindow   ∗RdsWindow;
14

PARAMETER

16       Rectangle           The rectangle to delete from the windowing.
17
18       RdsWindow           Pointer to the windowing of rds structure.
19

DESCRIPTION

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

RETURN VALUE

29       nothing
30

ERRORS

32       none
33

EXAMPLE

35               #include "mutnnn.h"
36               #include "rdsnnn.h"
37               #include "rwinnn.h"
38               #include "rtlnnn.h"
39               typedef struct UserStruct
40                {
41                  void ∗POINTER;
42                } UserStruct;
43               main()
44                 {
45                   rdsfig_list ∗Figure;
46                   rdsrec_list ∗Rectangle;
47                   rdswindow ∗RdsWindow;
48                    mbkenv();
49                    rdsenv();
50                    loadrdsparam();
51                    Figure = addrdsfig( "core",sizeof ( UserStruct ) );
52                    Rectangle =
53                      addrdsfigrec(Figure,"Alu1",RDS_ALU1,2,4,5,1);
54                   RdsWindow = allocrdswindow();
55                   RdsWindow->XMIN = -200;
56                   RdsWindow->YMIN = -200;
57                   RdsWindow->XMAX =  200;
58                   RdsWindow->YMAX =  200;
59                   RdsWindow->DX   =  4;
60                   RdsWindow->DY   =  4;
61                   RdsWindow->SIDE =  100;
62                   RdsWindow->SIZE =  RdsWindow->DX ∗ RdsWindow->DY ;
63                   RdsWindow->WINTAB = allocrdswin( RdsWindow->SIZE );
64                   addrdsrecwindow( Rectangle, RdsWindow );
65                   . . .
66                   /∗ ∗/ delrdsrecwindow( Rectangle, RdsWindow );
67                   . . .
68                 }
69

SEE ALSO

71       librwi, addrdsrecwindow
72
73
74
75
76
77
78ASIM/LIP6                       October 1, 1997             DELRDSRECWINDOW(3)
Impressum