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

NAME

6       refmbkrds - adds to RDS figure a references from a MBK figure
7

SYNOPSIS

9       #include "rfmnnn.h"
10        rdsrec_list ∗refmbkrds( Figure, Reference )
11          rdsfig_list ∗Figure;
12          phref_list  ∗Reference;
13

PARAMETER

15       Figure              The  RDS  figure which has to receive the reference
16                           to convert.
17
18       Reference           MBK reference to convert to RDS rectangle.
19

DESCRIPTION

21       The refmbkrds function creates a RDS reference with  a  MBK  reference.
22       The  reference  is attached to the RDS figure in parameter of the refm‐
23       bkrds function.
24

RETURN VALUE

26       Pointer to the newly created RDS reference.
27

ERRORS

29       "Rds202: rdsalloc error, can't continue !"
30              it's impossible to allocate the memory size desired
31

EXAMPLE

33               #include "mphnnn.h"
34               #include "mutnnn.h"
35               #include "rdsnnn.h"
36               #include "rfmnnn.h"
37               #include "rtlnnn.h"
38               typedef struct UserStruct
39                {
40                  char ∗STRING;
41                  void ∗USER1;
42                } UserStruct;
43               main()
44                 {
45                   phfig_list  ∗MbkFigure;
46                   rdsfig_list ∗RdsFigure;
47                   rdsrec_list ∗Ref;
48                   mbkenv();
49                   rdsenv();
50                   loadrdsparam();
51                   RdsFigure = addrdsfig ("core",sizeof ( UserStruct ) );
52                   MbkFigure->PHREF = addphref ( MbkFigure,"ref_con", "ref_1", 9, 15);
53                   Ref = refmbkrds (RdsFigure, MbkFigure->PHREF);
54                   viewrdsrec ( Ref );
55                 }
56

SEE ALSO

58       librfm, viewrfmref, loadrdsparam
59
60
61
62
63
64
65ASIM/LIP6                       October 1, 1997                   REFMBKRDS(3)
Impressum