viewrdsfig - view caracteristics of a figure
See the file man1/alc_origin.1.
#include "rdsnnn.h"
void viewrdsfig( Figure )
rdsins_list ∗Figure;
- Figure
- Pointer to the figure to visualize.
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).
#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 );
}
librds, viewrdsrec, viewrdsins
See the file man1/alc_bug_report.1.