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

NAME

        viewrdsfig - view caracteristics of a figure

SYNOPSYS

        #include "rdsnnn.h"
         void viewrdsfig( Figure )
          rdsins_list ∗Figure;

PARAMETER

       Figure              Pointer to the figure to visualize.

DESCRIPTION

       The  viewrdsfig function displays caracteristics of the figure called ´Figure´ and all the
       objets contained in this figure.

       figure's parameters displayed to screen :

              NAME   figure's name.

              MODE   loading mode of the figure.

              SIZE   size of user structure added to the rdsrec_list structure.
       Displays also rectangle  and  instance  parameters  of  the  figure  (see  viewrdsins  and
       viewrdsrec functions).

RETURN VALUE

       nothing

ERRORS

       none

EXAMPLE

               #include "mutnnn.h"
               #include "rdsnnn.h"
               #include "rtlnnn.h"
               typedef struct UserStruct
                {
                  char ∗STRING;
                  void ∗USER1;
                } UserStruct;
                main()
                 {
                   rdsfig_list ∗Figure;
                   rdsrec_list ∗Rectangle;
                   rdsins_list ∗Instance;
                   mbkenv();
                   rdsenv();
                   loadrdsparam();
                   Figure = addrdsfig ("core",sizeof ( UserStruct ) );
                   Instance  = addrdsins (Figure,"na2_y","and2",RDS_NOSYM,8,6);
                   Rectangle =
                    addrdsfigrec(Figure,"Alu1",RDS_ALU1,2,4,12,1);
                   /∗
                     visualization of the figure and its items
                   ∗/
                   /∗ ∗/ viewrdsfig ( Figure );
                 }

SEE ALSO

       librds, viewrdsrec, viewrdsins