1VIEWRDSREC(3) RDS PHYSICAL FUNCTIONS VIEWRDSREC(3)
2
3
4
6 viewrdsrec - Displays caracteristics of a rectangle
7
9 #include "rdsnnn.h"
10 void viewrdsrec( Rectangle )
11 rdsrec_list ∗Rectangle;
12
14 Rectangle The rectangle to display.
15
17 The viewrdsrec function displays rectangle's caracteristics :
18
19 - its coordinates (X,Y,DX,DY)
20
21 - its Layer
22
23 - its name
24
25 - its field FLAGS
26
28 nothing
29
31 none
32
34 #include "mutnnn.h"
35 #include "rdsnnn.h"
36 #include "rtlnnn.h"
37 main()
38 {
39 rdsfig_list ∗Figure;
40 rdsrec_list ∗Rectangle;
41 mbkenv();
42 rdsenv();
43 loadrdsparam();
44 Figure = addrdsfig ("core",sizeof ( UserStruct ) );
45 Rectangle =
46 addrdsfigrec(Figure,"Alu1",RDS_ALU1,2,4,12,1);
47 /∗
48 visualization of rectangle's caracteristics
49 ∗/
50 /* */ viewrdsrec ( Rectangle );
51 }
52
54 librds, viewrdsfig, viewrdsins
55
56
57
58
59
60
61ASIM/LIP6 October 1, 1997 VIEWRDSREC(3)