DOKK / manpages / debian 10 / alliance / roundrdsrec.3.en
ROUNDRDSREC(3) RDS PHYSICAL FUNCTIONS ROUNDRDSREC(3)

roundrdsrec - adjusts a rectangle to lambda grid step

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

#include "rfmnnn.h"

void roundrdsrec( Rectangle )
rdsrec_list ∗Rectangle;

RDS rectangle to treat.

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

nothing

none


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

librfm, viewrfmrec et_un_autre_see_also

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

October 1, 1997 ASIM/LIP6