viewrdsrec(3)
Displays caracteristics of a rectangle
SYNOPSYS
#include "rdsnnn.h"
void viewrdsrec( Rectangle )
rdsrec_list *Rectangle;
PARAMETERS
Rectangle
The rectangle to display.
DESCRIPTION
The
viewrdsrec function displays rectangle's caracteristics :
-
- - its coordinates (X,Y,DX,DY)
-
- - its Layer
-
- - its name
-
- - its field FLAGS
-
RETURN VALUE
nothing
ERRORS
none
EXAMPLE
#include "mutnnn.h"
#include "rdsnnn.h"
#include "rtlnnn.h"
main()
{
rdsfig_list *Figure;
rdsrec_list *Rectangle;
mbkenv();
rdsenv();
loadrdsparam();
Figure = addrdsfig ("core",sizeof ( UserStruct ) );
Rectangle =
addrdsfigrec(Figure,"Alu1",RDS_ALU1,2,4,12,1);
/*
visualization of rectangle's caracteristics
*/
/* */ viewrdsrec ( Rectangle );
}