viewrdsins - Displays caracteristics of an instance
See the file man1/alc_origin.1.
#include "rdsnnn.h"
void viewrdsins( Instance )
rdsins_list ∗Instance;
The viewrdsins function displays caracteristics of the
instance pointed by ´Instance´ and its items.
- instance's
parameters displayed :
- INSNAME
- name of the instance.
- FIGNAME
- model's name of the instance.
- X,Y
- position of the lower left corner of the instance.
- TRANSF
- transformation applied to the instance.
- SIZE
- size of the user structure added to the rdsrec_list structure.
This function displays also rectangles of the instance (see viewrdsrec()
function).
#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 =
addrdsinsrec(Instance,"Alu1",RDS_ALU1,2,4,12,1);
/∗
visualization of the instance and its rectangle
∗/
/∗ ∗/ viewrdsins ( Instance );
}
librds, viewrdsfig, viewrdsrec
See the file man1/alc_bug_report.1.