librwi - rwi library description
The rdswinrec_list structure is used to create list of rectangles's tables. Each table contains a maximum of RWI_MAX_REC pointers to rdsrec_list structure.
typedef struct rdswinrec_list
{
struct rdswinrec_list *NEXT;
Description of the structure's fields :
RECTAB Table of rectangles.
The rdswin_list permits to create a window which contains the rectangles. This structure is used to make the windowing of the rds structure. Windowing permits fastly acces to rectangles of the data base.
typedef struct rdswin_list
{
struct rdswinrec_list *LAYERTAB[ RWI_MAX_LAYER ];
} rdswin_list;
Description of the structure's fields :
The rdsrecwin_list structure permits for a rectangle to know the windows which it belongs. In the rdsrec_list structure, there is no field destinated to point to this structure. Some functions of the Rwi library use the field `USER' but it may be also used by functions of the Rfm library. So, the user has to save the `USER' field by creating an additionnal structure to the rdsrec_list structure to put the new pointer (during this operation, the field `USER' must be saved in a temporary variable).
typedef struct rdsrecwin_list
{
struct rdsrecwin_list *NEXT;
Description of the structure's fields :
NEXT Pointer to the next item whitch belongs to the list of rdsrecwin_list structure.
WINDOW Pointer to the window at which belongs the rectangle.
The rdswindow structure permits to set a windowing to the rds data structure.
typedef struct rdswindow
{
Description of the structure's fields :
XMAX Position in lambda of the upper right corner of the windowing table to the X axis.
YMAX Position in lambda of the upper right corner of the windowing table to the Y axis.
SIDE size of the side of a window (which is a square) in lambda.
WINTAB Pointer to the table of windows.
Tests if the rectangle belongs to a window : If true, then value 1 is returned else value 0 is returned (the rectangle belongs to many windows).
Sets the field `FLAGS' of the rectangle to mean that the rectangle belongs to one window.
Sets the field `FLAGS' of the rectangle to mean that the rectangle belongs to many windows.
allocrdswinrec
allocates a structure used to create a list of tables of rectangles.
allocrdsrecwin
allocates a structure used to know windows which contain a rectangle.
allocrdswin
allocates table of windows
allocrdswindow
allocates a window structure
addrdsrecwindow
adds a rectangle in the windowing of rds structure.
delrdsrecwindow
deletes a rectangle from the windowing of rds structure.
buildrdswindow
builds windowing of a figure
destroyrdswindow
destroys windowing of a figure
viewrdswindow
Displays caracteristics of all the windowing
librds, librfm, librpr, librut, librtl
This tool is under development at the ASIM/LIP6/UPMC laboratory, cao-vlsi
research team.
We need your feedbak to improve documentation and tools.
If you find bugs, please fill-in the form at
http://asim.lip6.fr/alliance/support/bug-report/
Thanks for doing this.