DOKK / manpages / debian 10 / alliance / delrdsrecwindow.3.en
DELRDSRECWINDOW(3) RDS PHYSICAL FUNCTIONS DELRDSRECWINDOW(3)

delrdsrecwindow - deletes a rectangle from the windowing of rds structure.

See the file buster/alliance/alc_origin.1.en.gz.

#include "rwinnn.h"
void delrdsrecwindow( Rectangle, RdsWindow )

rdsrec_list ∗Rectangle;
rdswindow ∗RdsWindow;

The rectangle to delete from the windowing.
Pointer to the windowing of rds structure.

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).

nothing

none


#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 );
. . .
}

librwi, addrdsrecwindow

See the file buster/alliance/alc_bug_report.1.en.gz.

October 1, 1997 ASIM/LIP6