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

FreeBSD Manual Pages

  
 
  

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

NAME
       delrdsrecwindow	- deletes a rectangle from the windowing of rds	struc-
       ture.

SYNOPSYS
       #include	"rwinnn.h"
       void delrdsrecwindow( Rectangle,	RdsWindow )
	  rdsrec_list *Rectangle;
	  rdswindow   *RdsWindow;

PARAMETER
       Rectangle	   The rectangle to delete from	the windowing.

       RdsWindow	   Pointer to the windowing of rds structure.

DESCRIPTION
       The delrdsrecwindow function deletes a rectangle	from the windowing  of
       the  rds	structure. Some	fields of the rectangle	structure are modified
       :
       Field 'USER' is set to NULL.
       Field 'FLAGS' is	modified (bits about the windowing - see librds	:  the
       field 'FLAGS' of	rdsrec_list structure).

RETURN VALUE
       nothing

ERRORS
       none

EXAMPLE
	       #include	"mutnnn.h"
	       #include	"rdsnnn.h"
	       #include	"rwinnn.h"
	       #include	"rtlnnn.h"
	       typedef struct UserStruct
		{
		  void *POINTER;
		} UserStruct;
	       main()
		 {
		   rdsfig_list *Figure;
		   rdsrec_list *Rectangle;
		   rdswindow *RdsWindow;
		    mbkenv();
		    rdsenv();
		    loadrdsparam();
		    Figure = addrdsfig(	"core",sizeof (	UserStruct ) );
		    Rectangle =
		      addrdsfigrec(Figure,"Alu1",RDS_ALU1,2,4,5,1);
		   RdsWindow = allocrdswindow();
		   RdsWindow->XMIN = -200;
		   RdsWindow->YMIN = -200;
		   RdsWindow->XMAX =  200;
		   RdsWindow->YMAX =  200;
		   RdsWindow->DX   =  4;
		   RdsWindow->DY   =  4;
		   RdsWindow->SIDE =  100;
		   RdsWindow->SIZE =  RdsWindow->DX * RdsWindow->DY ;
		   RdsWindow->WINTAB = allocrdswin( RdsWindow->SIZE );
		   addrdsrecwindow( Rectangle, RdsWindow );
		   . . .
		   /* */ delrdsrecwindow( Rectangle, RdsWindow );
		   . . .
		 }

SEE ALSO
       librwi, addrdsrecwindow

ASIM/LIP6			October	1, 1997		    DELRDSRECWINDOW(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=delrdsrecwindow&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help