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

NAME

6        viewrdsfig - view caracteristics of a figure
7

SYNOPSIS

9        #include "rdsnnn.h"
10         void viewrdsfig( Figure )
11          rdsins_list ∗Figure;
12

PARAMETER

14       Figure              Pointer to the figure to visualize.
15

DESCRIPTION

17       The  viewrdsfig  function  displays caracteristics of the figure called
18       ´Figure´ and all the objets contained in this figure.
19
20       figure's parameters displayed to screen :
21
22              NAME   figure's name.
23
24              MODE   loading mode of the figure.
25
26              SIZE   size of user structure added to  the  rdsrec_list  struc‐
27                     ture.
28       Displays  also  rectangle  and  instance  parameters of the figure (see
29       viewrdsins and viewrdsrec functions).
30

RETURN VALUE

32       nothing
33

ERRORS

35       none
36

EXAMPLE

38               #include "mutnnn.h"
39               #include "rdsnnn.h"
40               #include "rtlnnn.h"
41               typedef struct UserStruct
42                {
43                  char ∗STRING;
44                  void ∗USER1;
45                } UserStruct;
46                main()
47                 {
48                   rdsfig_list ∗Figure;
49                   rdsrec_list ∗Rectangle;
50                   rdsins_list ∗Instance;
51                   mbkenv();
52                   rdsenv();
53                   loadrdsparam();
54                   Figure = addrdsfig ("core",sizeof ( UserStruct ) );
55                   Instance  = addrdsins (Figure,"na2_y","and2",RDS_NOSYM,8,6);
56                   Rectangle =
57                    addrdsfigrec(Figure,"Alu1",RDS_ALU1,2,4,12,1);
58                   /∗
59                     visualization of the figure and its items
60                   ∗/
61                   /∗ ∗/ viewrdsfig ( Figure );
62                 }
63

SEE ALSO

65       librds, viewrdsrec, viewrdsins
66
67
68
69
70
71
72ASIM/LIP6                       October 1, 1997                  VIEWRDSFIG(3)
Impressum