亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? avc_e00gen.c

?? 支持各種柵格圖像和矢量圖像讀取的庫
?? C
?? 第 1 頁 / 共 4 頁
字號(hào):
 * This function should be called once with bCont=FALSE to get the * first E00 line for the current ARC, and then call with bCont=TRUE * to get all the other lines for this ARC. * * The function returns NULL when there are no more lines to generate * for this ARC. **********************************************************************/const char *AVCE00GenArc(AVCE00GenInfo *psInfo, AVCArc *psArc, GBool bCont){    if (bCont == FALSE)    {        /* Initialize the psInfo structure with info about the         * current ARC.         */        psInfo->iCurItem = 0;        if (psInfo->nPrecision == AVC_DOUBLE_PREC)            psInfo->numItems = psArc->numVertices;        else            psInfo->numItems = (psArc->numVertices+1)/2;        /* And return the ARC header line         */        sprintf(psInfo->pszBuf, "%10d%10d%10d%10d%10d%10d%10d",                psArc->nArcId, psArc->nUserId,                psArc->nFNode, psArc->nTNode,                psArc->nLPoly, psArc->nRPoly,                psArc->numVertices);    }    else if (psInfo->iCurItem < psInfo->numItems)    {        int iVertex;        /* return the next set of vertices for the ARC.         */        if (psInfo->nPrecision == AVC_DOUBLE_PREC)        {            iVertex = psInfo->iCurItem;            psInfo->pszBuf[0] = '\0';            AVCPrintRealValue(psInfo->pszBuf, psInfo->nPrecision, AVCFileARC,                            psArc->pasVertices[iVertex].x);            AVCPrintRealValue(psInfo->pszBuf, psInfo->nPrecision, AVCFileARC,                            psArc->pasVertices[iVertex].y);        }        else        {            iVertex = psInfo->iCurItem*2;            psInfo->pszBuf[0] = '\0';            AVCPrintRealValue(psInfo->pszBuf, psInfo->nPrecision, AVCFileARC,                            psArc->pasVertices[iVertex].x);            AVCPrintRealValue(psInfo->pszBuf, psInfo->nPrecision, AVCFileARC,                            psArc->pasVertices[iVertex].y);            /* Check because if we have a odd number of vertices then             * the last line contains only one pair of vertices.             */            if (iVertex+1 < psArc->numVertices)            {                AVCPrintRealValue(psInfo->pszBuf,psInfo->nPrecision,AVCFileARC,                                psArc->pasVertices[iVertex+1].x);                AVCPrintRealValue(psInfo->pszBuf,psInfo->nPrecision,AVCFileARC,                                psArc->pasVertices[iVertex+1].y);            }        }        psInfo->iCurItem++;    }    else    {        /* No more lines to generate for this ARC.         */        return NULL;    }    return psInfo->pszBuf;}/*=====================================================================                            PAL stuff =====================================================================*//********************************************************************** *                          AVCE00GenPal() * * Generate the next line of an E00 PAL (Polygon Arc List) entry. * * This function should be called once with bCont=FALSE to get the * first E00 line for the current PAL, and then call with bCont=TRUE * to get all the other lines for this PAL. * * The function returns NULL when there are no more lines to generate * for this PAL entry. **********************************************************************/const char *AVCE00GenPal(AVCE00GenInfo *psInfo, AVCPal *psPal, GBool bCont){    if (bCont == FALSE)    {        /* Initialize the psInfo structure with info about the         * current PAL.  (Number of lines excluding header)         */        psInfo->numItems = (psPal->numArcs+1)/2;        /* And return the PAL header line.         */        sprintf(psInfo->pszBuf, "%10d", psPal->numArcs);        AVCPrintRealValue(psInfo->pszBuf, psInfo->nPrecision, AVCFilePAL,                        psPal->sMin.x);        AVCPrintRealValue(psInfo->pszBuf, psInfo->nPrecision, AVCFilePAL,                        psPal->sMin.y);        /* Double precision PAL entries have their header on 2 lines!         */        if (psInfo->nPrecision == AVC_DOUBLE_PREC)        {            psInfo->iCurItem = -1;      /* Means 1 line left in header */        }        else        {            AVCPrintRealValue(psInfo->pszBuf, psInfo->nPrecision, AVCFilePAL,                            psPal->sMax.x);            AVCPrintRealValue(psInfo->pszBuf, psInfo->nPrecision, AVCFilePAL,                            psPal->sMax.y);            psInfo->iCurItem = 0;       /* Next thing = first Arc entry */        }    }    else if (psInfo->iCurItem == -1)    {        /* Second (and last) header line for double precision coverages         */        psInfo->pszBuf[0] = '\0';        AVCPrintRealValue(psInfo->pszBuf, psInfo->nPrecision, AVCFilePAL,                        psPal->sMax.x);        AVCPrintRealValue(psInfo->pszBuf, psInfo->nPrecision, AVCFilePAL,                        psPal->sMax.y);        if ( psInfo->numItems == 0 )        {           psInfo->iCurItem = -2;      /* We have a 0-arc polygon, which needs                                          an arc list with one "0 0 0" element */        }        else        {           psInfo->iCurItem = 0;       /* Next thing = first Arc entry */        }    }    else if (psInfo->iCurItem == -2)    {        sprintf(psInfo->pszBuf, "%10d%10d%10d", 0, 0, 0);        psInfo->iCurItem = 0;       /* Next thing = first Arc entry */    }    else if (psInfo->iCurItem < psInfo->numItems)    {        /* Return PAL Arc entries...         */        int iArc;        iArc = psInfo->iCurItem*2;        /* If we have a odd number of arcs then         * the last line contains only one arc entry.         */        if (iArc+1 < psPal->numArcs)        {            sprintf(psInfo->pszBuf, "%10d%10d%10d%10d%10d%10d",                                    psPal->pasArcs[iArc].nArcId,                                    psPal->pasArcs[iArc].nFNode,                                    psPal->pasArcs[iArc].nAdjPoly,                                    psPal->pasArcs[iArc+1].nArcId,                                    psPal->pasArcs[iArc+1].nFNode,                                    psPal->pasArcs[iArc+1].nAdjPoly);        }        else        {            sprintf(psInfo->pszBuf, "%10d%10d%10d",                                     psPal->pasArcs[iArc].nArcId,                                    psPal->pasArcs[iArc].nFNode,                                    psPal->pasArcs[iArc].nAdjPoly);        }        psInfo->iCurItem++;    }    else    {        /* No more lines to generate for this PAL.         */        return NULL;    }    return psInfo->pszBuf;}/*=====================================================================                            CNT stuff =====================================================================*//********************************************************************** *                          AVCE00GenCnt() * * Generate the next line of an E00 CNT (Polygon Centroid) entry. * * This function should be called once with bCont=FALSE to get the * first E00 line for the current CNT, and then call with bCont=TRUE * to get all the other lines for this CNT. * * The function returns NULL when there are no more lines to generate * for this CNT entry. **********************************************************************/const char *AVCE00GenCnt(AVCE00GenInfo *psInfo, AVCCnt *psCnt, GBool bCont){    if (bCont == FALSE)    {        /* Initialize the psInfo structure with info about the         * current CNT.         */        psInfo->iCurItem = 0;        psInfo->numItems = (psCnt->numLabels+7)/8;        /* And return the CNT header line.         */        sprintf(psInfo->pszBuf, "%10d", psCnt->numLabels);        AVCPrintRealValue(psInfo->pszBuf, psInfo->nPrecision, AVCFileCNT,                        psCnt->sCoord.x);        AVCPrintRealValue(psInfo->pszBuf, psInfo->nPrecision, AVCFileCNT,                        psCnt->sCoord.y);    }    else if (psInfo->iCurItem < psInfo->numItems)    {        /* Return CNT Label Ids, 8 label Ids per line...          */        int i, nFirstLabel, numLabels;        nFirstLabel = psInfo->iCurItem * 8;        numLabels = MIN(8, (psCnt->numLabels-nFirstLabel));        psInfo->pszBuf[0] = '\0';        for(i=0; i < numLabels; i++)        {            sprintf(psInfo->pszBuf + strlen(psInfo->pszBuf), "%10d",                                         psCnt->panLabelIds[nFirstLabel+i] );        }        psInfo->iCurItem++;    }    else    {        /* No more lines to generate for this CNT.         */        return NULL;    }    return psInfo->pszBuf;}/*=====================================================================                            LAB stuff =====================================================================*//********************************************************************** *                          AVCE00GenLab() * * Generate the next line of an E00 LAB (Label) entry. * * This function should be called once with bCont=FALSE to get the * first E00 line for the current LAB, and then call with bCont=TRUE * to get all the other lines for this LAB. * * The function returns NULL when there are no more lines to generate * for this LAB entry. **********************************************************************/const char *AVCE00GenLab(AVCE00GenInfo *psInfo, AVCLab *psLab, GBool bCont){    if (bCont == FALSE)    {        /* Initialize the psInfo structure with info about the         * current LAB. (numItems = Number of lines excluding header)         */        psInfo->iCurItem = 0;        if (psInfo->nPrecision == AVC_DOUBLE_PREC)            psInfo->numItems = 2;        else            psInfo->numItems = 1;        /* And return the LAB header line.         */        sprintf(psInfo->pszBuf, "%10d%10d", psLab->nValue, psLab->nPolyId);        AVCPrintRealValue(psInfo->pszBuf, psInfo->nPrecision, AVCFileLAB,                        psLab->sCoord1.x);        AVCPrintRealValue(psInfo->pszBuf, psInfo->nPrecision, AVCFileLAB,                        psLab->sCoord1.y);    }    else if (psInfo->iCurItem < psInfo->numItems)    {        /* Return next Label coordinates...          */        if (psInfo->nPrecision != AVC_DOUBLE_PREC)        {            /* Single precision, all on the same line             */            psInfo->pszBuf[0] = '\0';            AVCPrintRealValue(psInfo->pszBuf, psInfo->nPrecision, AVCFileLAB,                            psLab->sCoord2.x);            AVCPrintRealValue(psInfo->pszBuf, psInfo->nPrecision, AVCFileLAB,                            psLab->sCoord2.y);            AVCPrintRealValue(psInfo->pszBuf, psInfo->nPrecision, AVCFileLAB,                            psLab->sCoord3.x);            AVCPrintRealValue(psInfo->pszBuf, psInfo->nPrecision, AVCFileLAB,                            psLab->sCoord3.y);        }        else if (psInfo->iCurItem == 0)        {            /* 2nd line, in a double precision coverage             */            psInfo->pszBuf[0] = '\0';            AVCPrintRealValue(psInfo->pszBuf, psInfo->nPrecision, AVCFileLAB,                            psLab->sCoord2.x);            AVCPrintRealValue(psInfo->pszBuf, psInfo->nPrecision, AVCFileLAB,                            psLab->sCoord2.y);        }        else        {            /* 3rd line, in a double precision coverage             */            psInfo->pszBuf[0] = '\0';            AVCPrintRealValue(psInfo->pszBuf, psInfo->nPrecision, AVCFileLAB,                            psLab->sCoord3.x);            AVCPrintRealValue(psInfo->pszBuf, psInfo->nPrecision, AVCFileLAB,                            psLab->sCoord3.y);        }        psInfo->iCurItem++;    }    else    {        /* No more lines to generate for this LAB.         */        return NULL;    }    return psInfo->pszBuf;}/*=====================================================================                            TOL stuff =====================================================================*//********************************************************************** *                          AVCE00GenTol() * * Generate the next line of an E00 TOL (Tolerance) entry. * * This function should be called once with bCont=FALSE to get the * first E00 line for the current TOL, and then call with bCont=TRUE

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
在线综合视频播放| 一区视频在线播放| 在线不卡的av| 欧美日本精品一区二区三区| 欧美伊人久久久久久久久影院| 成人激情开心网| 成人国产视频在线观看| 本田岬高潮一区二区三区| 成人av在线资源网站| 成人国产在线观看| 色综合色狠狠天天综合色| 色综合久久久久网| 欧美日韩亚洲综合| 91精品免费在线观看| 欧美一卡2卡3卡4卡| 精品人伦一区二区色婷婷| 欧美精品一区男女天堂| 国产日韩欧美亚洲| 中文字幕一区二区三区不卡在线| 1024国产精品| 亚洲一区二区三区四区五区中文 | 久久久久久影视| 久久久噜噜噜久久中文字幕色伊伊 | 制服丝袜成人动漫| 日韩欧美一区二区在线视频| 日韩欧美成人一区二区| 中文字幕精品一区二区精品绿巨人| 亚洲色图20p| 午夜欧美视频在线观看 | 99国产麻豆精品| 欧美性大战久久久| 亚洲精品一区二区精华| 国产精品色哟哟网站| 亚洲午夜免费福利视频| 免费看精品久久片| 成人精品视频网站| 欧美久久一二三四区| 久久免费视频色| 亚洲永久精品大片| 久久99国产精品麻豆| www.欧美亚洲| 欧美老女人在线| 国产精品色哟哟网站| 午夜av电影一区| 国产99久久久国产精品免费看| 91久久精品一区二区二区| 91精品国产综合久久久久久漫画| 国产性色一区二区| 亚洲午夜免费视频| 国产成人三级在线观看| 欧美日韩的一区二区| 欧美国产激情一区二区三区蜜月| 午夜欧美电影在线观看| 国产大片一区二区| 欧美精品成人一区二区三区四区| 久久久不卡影院| 日韩中文字幕不卡| av欧美精品.com| 精品欧美一区二区久久| 亚洲猫色日本管| 国产成人av在线影院| 在线综合+亚洲+欧美中文字幕| 国产精品卡一卡二| 久久国内精品视频| 91福利区一区二区三区| 欧美韩国日本一区| 另类小说视频一区二区| 在线观看一区日韩| 国产精品系列在线| 国产一区福利在线| 欧美片网站yy| 亚洲理论在线观看| 成人高清伦理免费影院在线观看| 日韩精品一区二区三区四区| 亚洲一区精品在线| 91视频.com| 日本一区二区成人| 国产精品一区二区久久不卡| 91精品久久久久久久久99蜜臂| 亚洲精品一二三区| 99re这里只有精品首页| 国产亚洲欧洲997久久综合| 欧美aa在线视频| 欧美日韩午夜在线| 亚洲乱码精品一二三四区日韩在线| 国产精品一级黄| 久久久综合九色合综国产精品| 日一区二区三区| 欧美日韩成人高清| 亚洲一级电影视频| 色婷婷精品大视频在线蜜桃视频| 国产精品国产三级国产三级人妇 | 91丨九色porny丨蝌蚪| 国产欧美日韩在线看| 国产一区二区三区美女| 日韩欧美电影一二三| 欧美aaaaaa午夜精品| 91精品免费在线| 麻豆国产精品官网| 日韩欧美一级二级| 美女视频黄久久| 日韩午夜在线观看| 麻豆精品精品国产自在97香蕉| 日韩欧美国产综合一区 | 国内精品在线播放| 欧美电影免费观看高清完整版在| 九九精品一区二区| wwwwww.欧美系列| 国产老妇另类xxxxx| 久久久久久久久久看片| 高清不卡一区二区| 中文字幕在线观看一区二区| www.亚洲免费av| 亚洲综合久久久| 欧美精三区欧美精三区| 免费观看在线综合| 精品久久久久久亚洲综合网| 国产精品一二二区| 自拍偷在线精品自拍偷无码专区| 色综合天天狠狠| 日日夜夜一区二区| 久久亚洲一级片| av一区二区三区四区| 一区二区在线观看视频| 欧美人xxxx| 国精品**一区二区三区在线蜜桃| 国产网站一区二区| 91美女蜜桃在线| 日韩二区在线观看| 久久婷婷综合激情| 91影视在线播放| 天堂av在线一区| 国产区在线观看成人精品| 99精品久久只有精品| 亚洲成人精品一区二区| 精品福利av导航| www.久久精品| 午夜精品久久久久影视| 亚洲精品在线观看网站| 91在线国产观看| 日韩 欧美一区二区三区| 久久精品男人天堂av| 色婷婷久久久亚洲一区二区三区| 免费在线看一区| 欧美激情一区二区三区四区| 欧美色视频一区| 国产在线精品一区二区夜色 | 亚洲精品日日夜夜| 91精品在线观看入口| 国产精品系列在线观看| 亚洲一区电影777| 久久精品视频一区二区| 在线看日本不卡| 国产真实乱子伦精品视频| 亚洲精品国产第一综合99久久| 欧美一级艳片视频免费观看| 99久久精品免费| 久久精品国产亚洲一区二区三区| 亚洲婷婷在线视频| 日韩免费性生活视频播放| 色综合久久久久综合| 国产一区二区三区不卡在线观看 | 奇米色777欧美一区二区| 国产精品丝袜91| 欧美一卡二卡三卡四卡| 91网站最新网址| 国产在线精品免费av| 午夜电影久久久| 亚洲蜜臀av乱码久久精品蜜桃| 欧美v日韩v国产v| 91久久国产最好的精华液| 国产suv精品一区二区6| 蜜桃视频在线观看一区| 亚洲主播在线播放| 欧美国产日本韩| 久久一区二区三区国产精品| 欧美日韩国产一区| 91啪亚洲精品| 夫妻av一区二区| 狠狠色伊人亚洲综合成人| 午夜免费欧美电影| 亚洲夂夂婷婷色拍ww47| 中文字幕av不卡| 久久久久久久网| 正在播放亚洲一区| 欧美色图免费看| 欧美最猛黑人xxxxx猛交| 9i在线看片成人免费| 国产精品91xxx| 国产毛片精品一区| 久久99久久久欧美国产| 日韩在线一区二区三区| 亚洲一区二区三区四区在线免费观看| 国产精品看片你懂得| 中文字幕的久久| 中文字幕高清一区| 欧美国产国产综合| 国产精品美女一区二区在线观看| 亚洲精品一区二区三区蜜桃下载 | 国产精品乱人伦|