Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
VIEWRDSINS(3)		     RDS PHYSICAL FUNCTIONS		   VIEWRDSINS(3)

NAME
     viewrdsins - Displays caracteristics of an instance

SYNOPSIS
      #include "rdsnnn.h"
	void viewrdsins( Instance )
	 rdsins_list *Instance;

PARAMETERS
     Instance		 Instance to display.

DESCRIPTION
     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  in-
				stance.

	    TRANSF		transformation applied to the instance.

	    SIZE		size  of  the  user  structure	added to the rd-
				srec_list structure.
     This function displays also rectangles of the  instance  (see  viewrdsrec()
     function).

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 =
		  addrdsinsrec(Instance,"Alu1",RDS_ALU1,2,4,12,1);
		 /*
		   visualization of the instance and its rectangle
		 */
		 /* */ viewrdsins ( Instance );
	       }

SEE ALSO
     librds, viewrdsfig, viewrdsrec

ASIM/LIP6			 October 1, 1997		   VIEWRDSINS(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=viewrdsins&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help