src/pdfio.c
static L_PDF_DATA *
pdfdataCreate(const char  *title)
{
L_PDF_DATA *lpd;

    lpd = (L_PDF_DATA *)CALLOC(1, sizeof(L_PDF_DATA));
    if (title) lpd->title = stringNew(title);
    lpd->cida = ptraCreate(10);
    lpd->xy = ptaCreate(10);
    lpd->wh = ptaCreate(10);
    lpd->saprex = sarrayCreate(10);
    lpd->sacmap = sarrayCreate(10);
    lpd->objsize = numaCreate(20);
    lpd->objloc = numaCreate(20);
    return lpd;
}
/*---------------------------------------------------------------------*
 *                     Create/destroy/access pdf data                  *
 *---------------------------------------------------------------------*/
Create/destroy/access pdf data
Create / destroy / access pdf data
static L_PDF_DATA *
pdfdataCreate(const char  *title)
{
L_PDF_DATA *lpd;
    lpd = (L_PDF_DATA *)CALLOC(1, sizeof(L_PDF_DATA));
    if (title) lpd->title = stringNew(title);
    lpd->cida = ptraCreate(10);
    lpd->xy = ptaCreate(10);
    lpd->wh = ptaCreate(10);
    lpd->saprex = sarrayCreate(10);
    lpd->sacmap = sarrayCreate(10);
    lpd->objsize = numaCreate(20);
    lpd->objloc = numaCreate(20);
    return lpd;
}
static L_PDF_DATA * pdfdataCreate ( const char * title ) { L_PDF_DATA * lpd ; lpd = ( L_PDF_DATA * ) CALLOC ( 1 , sizeof ( L_PDF_DATA ) ) ; if ( title ) lpd -> title = stringNew ( title ) ; lpd -> cida = ptraCreate ( 10 ) ; lpd -> xy = ptaCreate ( 10 ) ; lpd -> wh = ptaCreate ( 10 ) ; lpd -> saprex = sarrayCreate ( 10 ) ; lpd -> sacmap = sarrayCreate ( 10 ) ; lpd -> objsize = numaCreate ( 20 ) ; lpd -> objloc = numaCreate ( 20 ) ; return lpd ; }
Create/destroy/access pdf data
Create / destroy / access pdf data