openLogFile('../data/logManual2.txt'); //3.3.3.(オプショナル)フリー(トゥルー)タイプフォントファイル指定 $utgd->setFontFile('../lib/UTGD4/fonts/Abadi MT Condensed Light.ttf'); //3.3.4.(オプショナル)デバッグ機能設定 $utgd->setDebugOptions(TRUE); //3.3.5.画像サイズ設定 $utgd->setImageSize(800,NULL,NULL,30,0,5000); //3.3.6.画像オプション設定 $utgd->setImageOptions('white',NULL,5); //3.3.7.中間ファイルパース $utgd->parseBufferFile('../data/bufferManual.txt'); //3.3.8.XMLファイル指定・オープン $utgd->openXMLFile('../data/xmlManual.xml'); //3.3.9.画像枠作成 $utgd->createImage(); //3.3.10.図形描画 $utgd->drawImage(); //3.3.11.XMLファイル出力 $cache_id = 'cache_test'; $utgd->cacheXMLData($cache_id); //3.3.12.画像出力 $utgd->outputImage(); ?>