NAME¶
delrdsrecwindow - deletes a rectangle from the windowing of rds structure.
ORIGIN¶
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at
LIP6 laboratory of Université Pierre et Marie CURIE, in Paris,
France.
Web :
http://asim.lip6.fr/recherche/alliance/
E-mail :
alliance-users@asim.lip6.fr
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
BUG REPORT¶
This tool is under development at the
ASIM department of the
LIP6
laboratory.
We need your feedback to improve documentation and tools.