1ROUNDRDSREC(3)              RDS PHYSICAL FUNCTIONS              ROUNDRDSREC(3)
2
3
4

NAME

6       roundrdsrec - adjusts a rectangle to lambda grid step
7

SYNOPSIS

9       #include "rfmnnn.h"
10        void roundrdsrec( Rectangle )
11           rdsrec_list ∗Rectangle;
12

PARAMETER

14       Rectangle           RDS rectangle to treat.
15

DESCRIPTION

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

RETURN VALUE

22       nothing
23

ERRORS

25       none
26

EXAMPLE

28               #include "mphnnn.h"
29               #include "mutnnn.h"
30               #include "rdsnnn.h"
31               #include "rfmnnn.h"
32               #include "rtlnnn.h"
33               typedef struct UserStruct
34                {
35                  char ∗STRING;
36                  void ∗USER1;
37                } UserStruct;
38               main()
39                 {
40                   rdsfig_list ∗RdsFigure;
41                   rdsrec_list ∗Rectangle;
42                   mbkenv();
43                   rdsenv();
44                   loadrdsparam();
45                   RdsFigure        = addrdsfig("core_2",sizeof(UserStruct));
46                   Rectangle   =
47                      addrdsfigrec(RdsFigure, "seg", RDS_ALU1, 2.5, 3.5, 6, 7);
48                   viewrfmrec ( Rectangle );
49                   /∗ ∗/ roundrdsrec ( Rectangle );
50                   /∗ view rectangle after rounding ∗/
51                   viewrfmrec ( Rectangle );
52                 }
53

SEE ALSO

55       librfm, viewrfmrec et_un_autre_see_also
56
57
58
59
60
61
62ASIM/LIP6                       October 1, 1997                 ROUNDRDSREC(3)
Impressum