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

FreeBSD Manual Pages

  
 
  

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

NAME
       roundrdsrec - adjusts a rectangle to lambda grid	step

SYNOPSYS
       #include	"rfmnnn.h"
	void roundrdsrec( Rectangle )
	   rdsrec_list *Rectangle;

PARAMETER
       Rectangle	   RDS rectangle to treat.

DESCRIPTION
       the  roundrdsrec	 function  adjusts  (in	lambda)	to lower grid step for
       rectangle extremity which has coordinates (X,Y),	adjusts	to upper  grid
       step for	rectangle extremity which has coordinates (X+DX,Y+DY).

RETURN VALUE
       nothing

ERRORS
       none

EXAMPLE
	       #include	"mphnnn.h"
	       #include	"mutnnn.h"
	       #include	"rdsnnn.h"
	       #include	"rfmnnn.h"
	       #include	"rtlnnn.h"
	       typedef struct UserStruct
		{
		  char *STRING;
		  void *USER1;
		} UserStruct;
	       main()
		 {
		   rdsfig_list *RdsFigure;
		   rdsrec_list *Rectangle;
		   mbkenv();
		   rdsenv();
		   loadrdsparam();
		   RdsFigure	    = addrdsfig("core_2",sizeof(UserStruct));
		   Rectangle   =
		      addrdsfigrec(RdsFigure, "seg", RDS_ALU1, 2.5, 3.5, 6, 7);
		   viewrfmrec (	Rectangle );
		   /* */ roundrdsrec ( Rectangle );
		   /* view rectangle after rounding */
		   viewrfmrec (	Rectangle );
		 }

SEE ALSO
       librfm, viewrfmrec et_un_autre_see_also

ASIM/LIP6			October	1, 1997			ROUNDRDSREC(3)

NAME | SYNOPSYS | PARAMETER | DESCRIPTION | RETURN VALUE | ERRORS | EXAMPLE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=roundrdsrec&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help