Provided by: alliance_5.1.1-1.1build1_amd64 bug

NAME

       roundrdsrec - adjusts a rectangle to lambda grid step

SYNOPSYS

       #include "rfmnnn.h"
        void roundrdsrec( Rectangle )
           rdsrec_list ∗Rectangle;

PARAMETER

       Rectangle           RDS rectangle to treat.

DESCRIPTION

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

RETURN VALUE

       nothing

ERRORS

       none

EXAMPLE

               #include "mphnnn.h"
               #include "mutnnn.h"
               #include "rdsnnn.h"
               #include "rfmnnn.h"
               #include "rtlnnn.h"
               typedef struct UserStruct
                {
                  char ∗STRING;
                  void ∗USER1;
                } UserStruct;
               main()
                 {
                   rdsfig_list ∗RdsFigure;
                   rdsrec_list ∗Rectangle;
                   mbkenv();
                   rdsenv();
                   loadrdsparam();
                   RdsFigure        = addrdsfig("core_2",sizeof(UserStruct));
                   Rectangle   =
                      addrdsfigrec(RdsFigure, "seg", RDS_ALU1, 2.5, 3.5, 6, 7);
                   viewrfmrec ( Rectangle );
                   /∗ ∗/ roundrdsrec ( Rectangle );
                   /∗ view rectangle after rounding ∗/
                   viewrfmrec ( Rectangle );
                 }

SEE ALSO

       librfm, viewrfmrec et_un_autre_see_also