<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>dgnlib: dgnlib.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.2-20100208 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <h1>dgnlib.h</h1><a href="dgnlib_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/******************************************************************************</span> <a name="l00002"></a>00002 <span class="comment"> * $Id: dgnlib.h 10645 2007-01-18 02:22:39Z warmerdam $</span> <a name="l00003"></a>00003 <span class="comment"> *</span> <a name="l00004"></a>00004 <span class="comment"> * Project: Microstation DGN Access Library</span> <a name="l00005"></a>00005 <span class="comment"> * Purpose: Definitions of public structures and API of DGN Library.</span> <a name="l00006"></a>00006 <span class="comment"> * Author: Frank Warmerdam, warmerdam@pobox.com</span> <a name="l00007"></a>00007 <span class="comment"> *</span> <a name="l00008"></a>00008 <span class="comment"> ******************************************************************************</span> <a name="l00009"></a>00009 <span class="comment"> * Copyright (c) 2000, Avenza Systems Inc, http://www.avenza.com/</span> <a name="l00010"></a>00010 <span class="comment"> *</span> <a name="l00011"></a>00011 <span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining a</span> <a name="l00012"></a>00012 <span class="comment"> * copy of this software and associated documentation files (the "Software"),</span> <a name="l00013"></a>00013 <span class="comment"> * to deal in the Software without restriction, including without limitation</span> <a name="l00014"></a>00014 <span class="comment"> * the rights to use, copy, modify, merge, publish, distribute, sublicense,</span> <a name="l00015"></a>00015 <span class="comment"> * and/or sell copies of the Software, and to permit persons to whom the</span> <a name="l00016"></a>00016 <span class="comment"> * Software is furnished to do so, subject to the following conditions:</span> <a name="l00017"></a>00017 <span class="comment"> *</span> <a name="l00018"></a>00018 <span class="comment"> * The above copyright notice and this permission notice shall be included</span> <a name="l00019"></a>00019 <span class="comment"> * in all copies or substantial portions of the Software.</span> <a name="l00020"></a>00020 <span class="comment"> *</span> <a name="l00021"></a>00021 <span class="comment"> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS</span> <a name="l00022"></a>00022 <span class="comment"> * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,</span> <a name="l00023"></a>00023 <span class="comment"> * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL</span> <a name="l00024"></a>00024 <span class="comment"> * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</span> <a name="l00025"></a>00025 <span class="comment"> * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING</span> <a name="l00026"></a>00026 <span class="comment"> * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER</span> <a name="l00027"></a>00027 <span class="comment"> * DEALINGS IN THE SOFTWARE.</span> <a name="l00028"></a>00028 <span class="comment"> ****************************************************************************/</span> <a name="l00029"></a>00029 <a name="l00030"></a>00030 <span class="preprocessor">#ifndef _DGNLIB_H_INCLUDED</span> <a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor">#define _DGNLIB_H_INCLUDED</span> <a name="l00032"></a>00032 <span class="preprocessor"></span> <a name="l00033"></a>00033 <span class="preprocessor">#include "cpl_conv.h"</span> <a name="l00034"></a>00034 <a name="l00035"></a>00035 CPL_C_START <a name="l00036"></a>00036 <a name="l00037"></a>00037 <span class="preprocessor">#define CPLE_DGN_ERROR_BASE</span> <a name="l00038"></a>00038 <span class="preprocessor"></span><span class="preprocessor">#define CPLE_ElementTooBig CPLE_DGN_ERROR_BASE+1</span> <a name="l00039"></a>00039 <span class="preprocessor"></span> <a name="l00054"></a><a class="code" href="structDGNPoint.html">00054</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{ <a name="l00055"></a><a class="code" href="structDGNPoint.html#a39b6397c7d031fb0a87323400d654d9e">00055</a> <span class="keywordtype">double</span> x; <a name="l00056"></a><a class="code" href="structDGNPoint.html#acc3dfff5af3a026df341d8e2339799c7">00056</a> <span class="keywordtype">double</span> y; <a name="l00057"></a><a class="code" href="structDGNPoint.html#aa44b489e28301ec1dd585732461d2633">00057</a> <span class="keywordtype">double</span> z; <a name="l00058"></a>00058 } <a class="code" href="structDGNPoint.html">DGNPoint</a>; <a name="l00059"></a>00059 <a name="l00066"></a><a class="code" href="structDGNElementInfo.html">00066</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{ <a name="l00067"></a><a class="code" href="structDGNElementInfo.html#aae31b071116293672aa0b5c950a56740">00067</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> level; <a name="l00068"></a><a class="code" href="structDGNElementInfo.html#adb609f11914fe0f93caad5f1f8afc751">00068</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> type; <a name="l00069"></a><a class="code" href="structDGNElementInfo.html#aaea7590675e5e5a0744e828af6b541a4">00069</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> stype; <a name="l00070"></a><a class="code" href="structDGNElementInfo.html#a03fd0974e75084157e1b2414e2e185dc">00070</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> flags; <a name="l00071"></a><a class="code" href="structDGNElementInfo.html#aafdc3cc818932bc64f6f331f483c4ba6">00071</a> <span class="keywordtype">long</span> offset; <a name="l00072"></a>00072 } <a class="code" href="structDGNElementInfo.html">DGNElementInfo</a>; <a name="l00073"></a>00073 <a name="l00085"></a><a class="code" href="structDGNElemCore.html">00085</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{ <a name="l00086"></a>00086 <span class="keywordtype">int</span> offset; <a name="l00087"></a>00087 <span class="keywordtype">int</span> size; <a name="l00088"></a>00088 <a name="l00089"></a><a class="code" href="structDGNElemCore.html#a4ded80061bb4d25000bb91c96a938d2c">00089</a> <span class="keywordtype">int</span> element_id; <a name="l00090"></a><a class="code" href="structDGNElemCore.html#aa45073b36d8d3dff7a3d10b92b3d411b">00090</a> <span class="keywordtype">int</span> stype; <a name="l00091"></a><a class="code" href="structDGNElemCore.html#a794865555c0da0502f784abe99b81397">00091</a> <span class="keywordtype">int</span> level; <a name="l00092"></a><a class="code" href="structDGNElemCore.html#a9ccae303d680aa59aee6930b5dc23d73">00092</a> <span class="keywordtype">int</span> type; <a name="l00093"></a><a class="code" href="structDGNElemCore.html#a095649c8c2cc609ea88747cd5d550857">00093</a> <span class="keywordtype">int</span> complex; <a name="l00094"></a><a class="code" href="structDGNElemCore.html#acca85b9b56ad5439d0b7396cd7e57e98">00094</a> <span class="keywordtype">int</span> deleted; <a name="l00096"></a><a class="code" href="structDGNElemCore.html#aeef69ff417edabdfe0a1a4f3e7bfb906">00096</a> <span class="keywordtype">int</span> graphic_group; <a name="l00097"></a><a class="code" href="structDGNElemCore.html#a51629daf39b97fc9e30360f0512f98d1">00097</a> <span class="keywordtype">int</span> properties; <a name="l00098"></a><a class="code" href="structDGNElemCore.html#ae0462e87ea190c9fa9b6ac83ef84ea61">00098</a> <span class="keywordtype">int</span> color; <a name="l00099"></a><a class="code" href="structDGNElemCore.html#a2607fdd2ebaf27101367feb82b09b4a7">00099</a> <span class="keywordtype">int</span> weight; <a name="l00100"></a><a class="code" href="structDGNElemCore.html#a094dd7693f630860d09b22e636644199">00100</a> <span class="keywordtype">int</span> style; <a name="l00102"></a><a class="code" href="structDGNElemCore.html#a1122343f3b1795d88d06aaf0d88f2b39">00102</a> <span class="keywordtype">int</span> attr_bytes; <a name="l00103"></a><a class="code" href="structDGNElemCore.html#ad3a3e8d013892c09a7d4e1f7b5d940c1">00103</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *attr_data; <a name="l00105"></a><a class="code" href="structDGNElemCore.html#adc329581f86d73470cdb2c45a141d826">00105</a> <span class="keywordtype">int</span> raw_bytes; <a name="l00106"></a><a class="code" href="structDGNElemCore.html#a6ea846a9c0527b3a45cf0315c1f4a399">00106</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *raw_data; <a name="l00107"></a>00107 } <a class="code" href="structDGNElemCore.html">DGNElemCore</a>; <a name="l00108"></a>00108 <a name="l00118"></a><a class="code" href="structDGNElemMultiPoint.html">00118</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{ <a name="l00119"></a>00119 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> core; <a name="l00120"></a>00120 <a name="l00121"></a><a class="code" href="structDGNElemMultiPoint.html#ade15f937b0b487da18030d26b887d194">00121</a> <span class="keywordtype">int</span> num_vertices; <a name="l00122"></a><a class="code" href="structDGNElemMultiPoint.html#a0dd6bc913715127dfdf90b71cc06ac4b">00122</a> <a class="code" href="structDGNPoint.html">DGNPoint</a> vertices[2]; <a name="l00124"></a>00124 } <a class="code" href="structDGNElemMultiPoint.html">DGNElemMultiPoint</a>; <a name="l00125"></a>00125 <a name="l00134"></a><a class="code" href="structDGNElemArc.html">00134</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{ <a name="l00135"></a>00135 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> core; <a name="l00136"></a>00136 <a name="l00137"></a><a class="code" href="structDGNElemArc.html#aaab9ee8fb592e96b537f5b5678544985">00137</a> <a class="code" href="structDGNPoint.html">DGNPoint</a> origin; <a name="l00139"></a><a class="code" href="structDGNElemArc.html#aaf8dd0e5a7f57e13fd6ce6d2a793c7fc">00139</a> <span class="keywordtype">double</span> primary_axis; <a name="l00140"></a><a class="code" href="structDGNElemArc.html#a69c0d4192bd564b426f02343221fd926">00140</a> <span class="keywordtype">double</span> secondary_axis; <a name="l00142"></a><a class="code" href="structDGNElemArc.html#ab84a21aa0759508e2bcde5af16568713">00142</a> <span class="keywordtype">double</span> rotation; <a name="l00143"></a>00143 <span class="keywordtype">int</span> quat[4]; <a name="l00144"></a>00144 <a name="l00145"></a><a class="code" href="structDGNElemArc.html#aa583438d033a1989e0be44cef0e924fe">00145</a> <span class="keywordtype">double</span> startang; <a name="l00146"></a><a class="code" href="structDGNElemArc.html#ad9bd6baddb6c6cc5378cb9a6be1bee74">00146</a> <span class="keywordtype">double</span> sweepang; <a name="l00148"></a>00148 } <a class="code" href="structDGNElemArc.html">DGNElemArc</a>; <a name="l00149"></a>00149 <a name="l00160"></a><a class="code" href="structDGNElemText.html">00160</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{ <a name="l00161"></a>00161 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> core; <a name="l00162"></a>00162 <a name="l00163"></a><a class="code" href="structDGNElemText.html#ae8d73caf71d99d8928cc7a90e661008c">00163</a> <span class="keywordtype">int</span> font_id; <a name="l00164"></a><a class="code" href="structDGNElemText.html#a2e268f18e21a7ab85fb9960313a43a95">00164</a> <span class="keywordtype">int</span> justification; <a name="l00165"></a><a class="code" href="structDGNElemText.html#aa26810c45b62b94ce145dc8d25c909ef">00165</a> <span class="keywordtype">double</span> length_mult; <a name="l00166"></a><a class="code" href="structDGNElemText.html#a2eadd2f51f9e9ade7e839d91366a8d7e">00166</a> <span class="keywordtype">double</span> height_mult; <a name="l00167"></a><a class="code" href="structDGNElemText.html#ad427f97a3f523165094da35c874e51d5">00167</a> <span class="keywordtype">double</span> rotation; <a name="l00168"></a><a class="code" href="structDGNElemText.html#a8658ae84b6ab98c1997f352352490ecb">00168</a> <a class="code" href="structDGNPoint.html">DGNPoint</a> origin; <a name="l00169"></a><a class="code" href="structDGNElemText.html#a52d5af17a7e2ed2c51e974b28b41a8a6">00169</a> <span class="keywordtype">char</span> <span class="keywordtype">string</span>[1]; <a name="l00170"></a>00170 } <a class="code" href="structDGNElemText.html">DGNElemText</a>; <a name="l00171"></a>00171 <a name="l00183"></a><a class="code" href="structDGNElemComplexHeader.html">00183</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{ <a name="l00184"></a>00184 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> core; <a name="l00185"></a>00185 <a name="l00186"></a><a class="code" href="structDGNElemComplexHeader.html#a71fe479e7a8a896c33f370c8034768ca">00186</a> <span class="keywordtype">int</span> totlength; <a name="l00189"></a><a class="code" href="structDGNElemComplexHeader.html#a95dcb143f7aa96950d0d2b5856c2c0ea">00189</a> <span class="keywordtype">int</span> numelems; <a name="l00190"></a><a class="code" href="structDGNElemComplexHeader.html#a89107ef01ce37e2de25bc8f19b58363b">00190</a> <span class="keywordtype">int</span> surftype; <a name="l00193"></a><a class="code" href="structDGNElemComplexHeader.html#ad022f9ce3631df5d9cc9b1a950e0f615">00193</a> <span class="keywordtype">int</span> boundelms; <a name="l00195"></a>00195 } <a class="code" href="structDGNElemComplexHeader.html">DGNElemComplexHeader</a>; <a name="l00196"></a>00196 <a name="l00206"></a><a class="code" href="structDGNElemColorTable.html">00206</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{ <a name="l00207"></a>00207 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> core; <a name="l00208"></a>00208 <a name="l00209"></a>00209 <span class="keywordtype">int</span> screen_flag; <a name="l00210"></a><a class="code" href="structDGNElemColorTable.html#a3e03453097369fbcd8611d1358b32122">00210</a> GByte color_info[256][3]; <a name="l00211"></a>00211 } <a class="code" href="structDGNElemColorTable.html">DGNElemColorTable</a>; <a name="l00212"></a>00212 <a name="l00213"></a><a class="code" href="structDGNViewInfo.html">00213</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{ <a name="l00214"></a>00214 <span class="keywordtype">int</span> flags; <a name="l00215"></a>00215 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> levels[8]; <a name="l00216"></a>00216 <a class="code" href="structDGNPoint.html">DGNPoint</a> origin; <a name="l00217"></a>00217 <a class="code" href="structDGNPoint.html">DGNPoint</a> delta; <a name="l00218"></a>00218 <span class="keywordtype">double</span> transmatrx[9]; <a name="l00219"></a>00219 <span class="keywordtype">double</span> conversion; <a name="l00220"></a>00220 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> activez; <a name="l00221"></a>00221 } <a class="code" href="structDGNViewInfo.html">DGNViewInfo</a>; <a name="l00222"></a>00222 <a name="l00237"></a><a class="code" href="structDGNElemTCB.html">00237</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{ <a name="l00238"></a>00238 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> core; <a name="l00239"></a>00239 <a name="l00240"></a><a class="code" href="structDGNElemTCB.html#ac5db2e6d8fd82b200d94bf0e18c255df">00240</a> <span class="keywordtype">int</span> dimension; <a name="l00242"></a><a class="code" href="structDGNElemTCB.html#a1ffe617fef1732afcb4144fe5c111d14">00242</a> <span class="keywordtype">double</span> origin_x; <a name="l00243"></a><a class="code" href="structDGNElemTCB.html#a1ff513a199e5e2d0f0e7925d63ca5285">00243</a> <span class="keywordtype">double</span> origin_y; <a name="l00244"></a><a class="code" href="structDGNElemTCB.html#a539eff2c476f83512abaec332587d1d6">00244</a> <span class="keywordtype">double</span> origin_z; <a name="l00246"></a><a class="code" href="structDGNElemTCB.html#af0f6460ab7aba85a82feac7f988db89e">00246</a> <span class="keywordtype">long</span> uor_per_subunit; <a name="l00247"></a><a class="code" href="structDGNElemTCB.html#a1a72863a59cef1ad12606756fdb9c61f">00247</a> <span class="keywordtype">char</span> sub_units[3]; <a name="l00248"></a><a class="code" href="structDGNElemTCB.html#a8b0e15d6c83e344b4a03b5b75fe26214">00248</a> <span class="keywordtype">long</span> subunits_per_master; <a name="l00249"></a><a class="code" href="structDGNElemTCB.html#af3d8f14b08e506b8628e5e875d248f79">00249</a> <span class="keywordtype">char</span> master_units[3]; <a name="l00251"></a>00251 <a class="code" href="structDGNViewInfo.html">DGNViewInfo</a> views[8]; <a name="l00252"></a>00252 <a name="l00253"></a>00253 } <a class="code" href="structDGNElemTCB.html">DGNElemTCB</a>; <a name="l00254"></a>00254 <a name="l00263"></a><a class="code" href="structDGNElemCellHeader.html">00263</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{ <a name="l00264"></a>00264 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> core; <a name="l00265"></a>00265 <a name="l00266"></a><a class="code" href="structDGNElemCellHeader.html#a0c93a7ae3694e12fd06f58749228f8df">00266</a> <span class="keywordtype">int</span> totlength; <a name="l00269"></a><a class="code" href="structDGNElemCellHeader.html#a56ddc2f8fa3abb88a18edf151d2d5320">00269</a> <span class="keywordtype">char</span> name[7]; <a name="l00270"></a><a class="code" href="structDGNElemCellHeader.html#a903eb71cdd6839f54e05e9867fdc07c1">00270</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> cclass; <a name="l00271"></a><a class="code" href="structDGNElemCellHeader.html#ac770350f4c14b76ee771ee3857daa097">00271</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> levels[4]; <a name="l00273"></a><a class="code" href="structDGNElemCellHeader.html#ad1305a09d235264e08148ef230f89d1e">00273</a> <a class="code" href="structDGNPoint.html">DGNPoint</a> rnglow; <a name="l00274"></a><a class="code" href="structDGNElemCellHeader.html#a278c255fe72980eeff3887e6dab4abcb">00274</a> <a class="code" href="structDGNPoint.html">DGNPoint</a> rnghigh; <a name="l00276"></a><a class="code" href="structDGNElemCellHeader.html#add65916c8e88011e3a87fe1f0a07f840">00276</a> <span class="keywordtype">double</span> trans[9]; <a name="l00277"></a><a class="code" href="structDGNElemCellHeader.html#a826bb1cdccd05deffba7acdc39aaf55d">00277</a> <a class="code" href="structDGNPoint.html">DGNPoint</a> origin; <a name="l00279"></a>00279 <span class="keywordtype">double</span> xscale; <a name="l00280"></a>00280 <span class="keywordtype">double</span> yscale; <a name="l00281"></a>00281 <span class="keywordtype">double</span> rotation; <a name="l00282"></a>00282 <a name="l00283"></a>00283 } <a class="code" href="structDGNElemCellHeader.html">DGNElemCellHeader</a>; <a name="l00284"></a>00284 <a name="l00293"></a><a class="code" href="structDGNElemCellLibrary.html">00293</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{ <a name="l00294"></a>00294 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> core; <a name="l00295"></a>00295 <a name="l00296"></a><a class="code" href="structDGNElemCellLibrary.html#a470fc622d3c4f0edff2748171ca7d089">00296</a> <span class="keywordtype">short</span> celltype; <a name="l00297"></a><a class="code" href="structDGNElemCellLibrary.html#afd5816483fd91f25ebc9d4e3a55bb365">00297</a> <span class="keywordtype">short</span> attindx; <a name="l00298"></a><a class="code" href="structDGNElemCellLibrary.html#a0732879f0bd90856b7a2e33d900e9a0f">00298</a> <span class="keywordtype">char</span> name[7]; <a name="l00300"></a><a class="code" href="structDGNElemCellLibrary.html#a783763a484fb20bda6b825f52def5778">00300</a> <span class="keywordtype">int</span> numwords; <a name="l00302"></a><a class="code" href="structDGNElemCellLibrary.html#abb4e4bc9de4ac0c8cadfb41c877510a2">00302</a> <span class="keywordtype">short</span> dispsymb; <a name="l00303"></a><a class="code" href="structDGNElemCellLibrary.html#a36accd4551e1b83a07df20352a3ed4eb">00303</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> cclass; <a name="l00304"></a><a class="code" href="structDGNElemCellLibrary.html#a32ecf674e8c396856df6d4bd0bbbcd8d">00304</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> levels[4]; <a name="l00306"></a><a class="code" href="structDGNElemCellLibrary.html#afe760b87fd991d240b19f4054309afb1">00306</a> <span class="keywordtype">char</span> description[28]; <a name="l00308"></a>00308 } <a class="code" href="structDGNElemCellLibrary.html">DGNElemCellLibrary</a>; <a name="l00309"></a>00309 <a name="l00318"></a><a class="code" href="structDGNElemSharedCellDefn.html">00318</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{ <a name="l00319"></a>00319 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> core; <a name="l00320"></a>00320 <a name="l00321"></a><a class="code" href="structDGNElemSharedCellDefn.html#a0ba631765416ccac165e9ed839fa77ae">00321</a> <span class="keywordtype">int</span> totlength; <a name="l00324"></a>00324 <span class="comment">// FIXME: Most of the contents of this element type is currently</span> <a name="l00325"></a>00325 <span class="comment">// unknown. Please get in touch with the authors if you have</span> <a name="l00326"></a>00326 <span class="comment">// information about how to decode this element.</span> <a name="l00327"></a>00327 } <a class="code" href="structDGNElemSharedCellDefn.html">DGNElemSharedCellDefn</a>; <a name="l00328"></a>00328 <a name="l00329"></a><a class="code" href="uniontagValueUnion.html">00329</a> <span class="keyword">typedef</span> <span class="keyword">union </span>{ <span class="keywordtype">char</span> *string; GInt32 integer; <span class="keywordtype">double</span> real; } <a class="code" href="uniontagValueUnion.html">tagValueUnion</a>; <a name="l00330"></a>00330 <a name="l00339"></a><a class="code" href="structDGNElemTagValue.html">00339</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{ <a name="l00340"></a>00340 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> core; <a name="l00341"></a>00341 <a name="l00342"></a><a class="code" href="structDGNElemTagValue.html#afae598502019344ec004ed8e4874a91c">00342</a> <span class="keywordtype">int</span> tagType; <a name="l00343"></a><a class="code" href="structDGNElemTagValue.html#af5fa10ec72ec1e62d1d283c4425b6e09">00343</a> <span class="keywordtype">int</span> tagSet; <a name="l00344"></a><a class="code" href="structDGNElemTagValue.html#a32d259af18e08a75e50918d91e17f911">00344</a> <span class="keywordtype">int</span> tagIndex; <a name="l00345"></a><a class="code" href="structDGNElemTagValue.html#a6ae2fee50b61ecbb7618c96788676252">00345</a> <span class="keywordtype">int</span> tagLength; <a name="l00346"></a><a class="code" href="structDGNElemTagValue.html#ae8efa5361969abdbb1778fd91ca6927b">00346</a> <a class="code" href="uniontagValueUnion.html">tagValueUnion</a> tagValue; <a name="l00348"></a>00348 } <a class="code" href="structDGNElemTagValue.html">DGNElemTagValue</a>; <a name="l00349"></a>00349 <a name="l00355"></a><a class="code" href="struct__DGNTagDef.html">00355</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct__DGNTagDef.html">_DGNTagDef</a> { <a name="l00356"></a><a class="code" href="struct__DGNTagDef.html#a7f308f6b15971b8e51297de3eb88f5dc">00356</a> <span class="keywordtype">char</span> *<a class="code" href="struct__DGNTagDef.html#a7f308f6b15971b8e51297de3eb88f5dc">name</a>; <a name="l00357"></a><a class="code" href="struct__DGNTagDef.html#a06ee3f102050a64d3ac73fd1902e41ec">00357</a> <span class="keywordtype">int</span> <a class="code" href="struct__DGNTagDef.html#a06ee3f102050a64d3ac73fd1902e41ec">id</a>; <a name="l00358"></a><a class="code" href="struct__DGNTagDef.html#ab2edb316b3b4af8f9d28407e2bcdbb6a">00358</a> <span class="keywordtype">char</span> *<a class="code" href="struct__DGNTagDef.html#ab2edb316b3b4af8f9d28407e2bcdbb6a">prompt</a>; <a name="l00359"></a><a class="code" href="struct__DGNTagDef.html#a4f11ca30e6238fa3b91e925969397379">00359</a> <span class="keywordtype">int</span> <a class="code" href="struct__DGNTagDef.html#a4f11ca30e6238fa3b91e925969397379">type</a>; <a name="l00360"></a><a class="code" href="struct__DGNTagDef.html#a78c9d06f493dd49aa913cf67096792b2">00360</a> <a class="code" href="uniontagValueUnion.html">tagValueUnion</a> <a class="code" href="struct__DGNTagDef.html#a78c9d06f493dd49aa913cf67096792b2">defaultValue</a>; <a name="l00361"></a>00361 } <a class="code" href="struct__DGNTagDef.html">DGNTagDef</a>; <a name="l00362"></a>00362 <a name="l00363"></a>00363 <span class="preprocessor">#define DGNTT_STRING 1</span> <a name="l00364"></a>00364 <span class="preprocessor"></span><span class="preprocessor">#define DGNTT_INTEGER 3</span> <a name="l00365"></a>00365 <span class="preprocessor"></span><span class="preprocessor">#define DGNTT_FLOAT 4</span> <a name="l00366"></a>00366 <span class="preprocessor"></span> <a name="l00375"></a><a class="code" href="structDGNElemTagSet.html">00375</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{ <a name="l00376"></a>00376 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> core; <a name="l00377"></a>00377 <a name="l00378"></a><a class="code" href="structDGNElemTagSet.html#a93d98601ff9a7912cee8779ee3068e60">00378</a> <span class="keywordtype">int</span> tagCount; <a name="l00379"></a><a class="code" href="structDGNElemTagSet.html#aeafb666dd97dcedf1854030a493e3c9e">00379</a> <span class="keywordtype">int</span> tagSet; <a name="l00380"></a><a class="code" href="structDGNElemTagSet.html#a8da3bcd7c808254d585ddb136369589d">00380</a> <span class="keywordtype">int</span> flags; <a name="l00381"></a><a class="code" href="structDGNElemTagSet.html#a46082d9c4d8a1634f3168bbbf82b27ed">00381</a> <span class="keywordtype">char</span> *tagSetName; <a name="l00383"></a><a class="code" href="structDGNElemTagSet.html#a083f0fbd1b310d9d5854729661deac8a">00383</a> <a class="code" href="struct__DGNTagDef.html">DGNTagDef</a> *tagList; <a name="l00385"></a>00385 } <a class="code" href="structDGNElemTagSet.html">DGNElemTagSet</a>; <a name="l00386"></a>00386 <a name="l00394"></a><a class="code" href="structDGNElemCone.html">00394</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{ <a name="l00395"></a>00395 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> core; <a name="l00396"></a>00396 <a name="l00397"></a><a class="code" href="structDGNElemCone.html#a6d2fb59d971cc775541b04cb1d2772c3">00397</a> <span class="keywordtype">short</span> unknown; <a name="l00398"></a><a class="code" href="structDGNElemCone.html#a78aba14ff5150e7a94255def0fc6e877">00398</a> <span class="keywordtype">int</span> quat[4]; <a name="l00399"></a><a class="code" href="structDGNElemCone.html#add85c91e298041aabe8604caa5ae9969">00399</a> <a class="code" href="structDGNPoint.html">DGNPoint</a> center_1; <a name="l00400"></a><a class="code" href="structDGNElemCone.html#a20fc4f728efab9123de8f36e17823851">00400</a> <span class="keywordtype">double</span> radius_1; <a name="l00401"></a><a class="code" href="structDGNElemCone.html#aa0444302e37656eba8fd1d4fc58a04e7">00401</a> <a class="code" href="structDGNPoint.html">DGNPoint</a> center_2; <a name="l00402"></a><a class="code" href="structDGNElemCone.html#a981247fbc4dff5eda25b58660c1943cf">00402</a> <span class="keywordtype">double</span> radius_2; <a name="l00404"></a>00404 } <a class="code" href="structDGNElemCone.html">DGNElemCone</a>; <a name="l00405"></a>00405 <a name="l00406"></a>00406 <a name="l00417"></a><a class="code" href="structDGNElemTextNode.html">00417</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{ <a name="l00418"></a>00418 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> core; <a name="l00419"></a>00419 <a name="l00420"></a><a class="code" href="structDGNElemTextNode.html#aeb5e2722eddcd2add840a4794e48cef2">00420</a> <span class="keywordtype">int</span> totlength; <a name="l00422"></a><a class="code" href="structDGNElemTextNode.html#ae3792ed1d42e5e88730ffd6460350221">00422</a> <span class="keywordtype">int</span> numelems; <a name="l00423"></a><a class="code" href="structDGNElemTextNode.html#adfe0fd1a817cfabca5fb53f47dcced01">00423</a> <span class="keywordtype">int</span> node_number; <a name="l00424"></a><a class="code" href="structDGNElemTextNode.html#a3c578465b0680eced73c17eb4d8113f9">00424</a> <span class="keywordtype">short</span> max_length; <a name="l00425"></a><a class="code" href="structDGNElemTextNode.html#ad4dfe7cb51281fab3ae86cdaae5e8ee0">00425</a> <span class="keywordtype">short</span> max_used; <a name="l00426"></a><a class="code" href="structDGNElemTextNode.html#a36be3de0687c54917e9b745479a353e6">00426</a> <span class="keywordtype">short</span> font_id; <a name="l00427"></a><a class="code" href="structDGNElemTextNode.html#a7815490866f6aac2b3beba4f1fe4613e">00427</a> <span class="keywordtype">short</span> justification; <a name="l00428"></a><a class="code" href="structDGNElemTextNode.html#a8977a5eb332d0c95a51050524f9823af">00428</a> <span class="keywordtype">long</span> line_spacing; <a name="l00429"></a><a class="code" href="structDGNElemTextNode.html#a695d6a3aef669771c9169ab0e56f21c6">00429</a> <span class="keywordtype">double</span> length_mult; <a name="l00430"></a><a class="code" href="structDGNElemTextNode.html#a1d145b2dbbca8d72e5ed19a4e308c0d7">00430</a> <span class="keywordtype">double</span> height_mult; <a name="l00431"></a><a class="code" href="structDGNElemTextNode.html#a3820e58878d7dcc07b88e4d05ab7266b">00431</a> <span class="keywordtype">double</span> rotation; <a name="l00432"></a><a class="code" href="structDGNElemTextNode.html#a1c10827b4e55b1a8e3bd18e988721c83">00432</a> <a class="code" href="structDGNPoint.html">DGNPoint</a> origin; <a name="l00434"></a>00434 } <a class="code" href="structDGNElemTextNode.html">DGNElemTextNode</a>; <a name="l00435"></a>00435 <a name="l00436"></a>00436 <a name="l00444"></a><a class="code" href="structDGNElemBSplineSurfaceHeader.html">00444</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{ <a name="l00445"></a>00445 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> core; <a name="l00446"></a>00446 <a name="l00447"></a><a class="code" href="structDGNElemBSplineSurfaceHeader.html#acb5b1555491043f803bcb2e05cac345d">00447</a> <span class="keywordtype">long</span> desc_words; <a name="l00450"></a><a class="code" href="structDGNElemBSplineSurfaceHeader.html#a1bf149be454cf755bf53976c832f1c74">00450</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> curve_type; <a name="l00451"></a><a class="code" href="structDGNElemBSplineSurfaceHeader.html#ada21e7467dee0456091cb0c3aaaf8477">00451</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> u_order; <a name="l00452"></a><a class="code" href="structDGNElemBSplineSurfaceHeader.html#ab4a3623c6a35d482cff77f54861165af">00452</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> u_properties; <a name="l00454"></a><a class="code" href="structDGNElemBSplineSurfaceHeader.html#a734df8c0e60611b104c2430de5e6f4c8">00454</a> <span class="keywordtype">short</span> num_poles_u; <a name="l00455"></a><a class="code" href="structDGNElemBSplineSurfaceHeader.html#a62b4f14a7b33717b32fa018319b40468">00455</a> <span class="keywordtype">short</span> num_knots_u; <a name="l00456"></a><a class="code" href="structDGNElemBSplineSurfaceHeader.html#a5001bdc1d77c2be21f07aed03c5f9f87">00456</a> <span class="keywordtype">short</span> rule_lines_u; <a name="l00458"></a><a class="code" href="structDGNElemBSplineSurfaceHeader.html#aab82ef40434e07aabb9ab2e49712f72e">00458</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> v_order; <a name="l00459"></a><a class="code" href="structDGNElemBSplineSurfaceHeader.html#ad9e296bef0fd91dea98551cdd1610249">00459</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> v_properties; <a name="l00461"></a><a class="code" href="structDGNElemBSplineSurfaceHeader.html#a703811a129993f2daac533c9c7728ef9">00461</a> <span class="keywordtype">short</span> num_poles_v; <a name="l00462"></a><a class="code" href="structDGNElemBSplineSurfaceHeader.html#a60a65cd7c709cd781efa198ff636b8d5">00462</a> <span class="keywordtype">short</span> num_knots_v; <a name="l00463"></a><a class="code" href="structDGNElemBSplineSurfaceHeader.html#afe316cd1b2271bceb9dc5c33ac15dc4c">00463</a> <span class="keywordtype">short</span> rule_lines_v; <a name="l00465"></a><a class="code" href="structDGNElemBSplineSurfaceHeader.html#a40909041667af1e22c4c6806d7b250d2">00465</a> <span class="keywordtype">short</span> num_bounds; <a name="l00466"></a>00466 } <a class="code" href="structDGNElemBSplineSurfaceHeader.html">DGNElemBSplineSurfaceHeader</a>; <a name="l00467"></a>00467 <a name="l00475"></a><a class="code" href="structDGNElemBSplineCurveHeader.html">00475</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{ <a name="l00476"></a>00476 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> core; <a name="l00477"></a>00477 <a name="l00478"></a><a class="code" href="structDGNElemBSplineCurveHeader.html#abe1cb0b08774b8f3637eb35365f84fa8">00478</a> <span class="keywordtype">long</span> desc_words; <a name="l00481"></a><a class="code" href="structDGNElemBSplineCurveHeader.html#abdea65a87901e8f1a2501a3e55e690bb">00481</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> order; <a name="l00482"></a><a class="code" href="structDGNElemBSplineCurveHeader.html#afa3f5a675d6b1f033d158dd76558af34">00482</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> properties; <a name="l00483"></a><a class="code" href="structDGNElemBSplineCurveHeader.html#a4d8014fe2dfc1062d756e5aa32058137">00483</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> curve_type; <a name="l00484"></a><a class="code" href="structDGNElemBSplineCurveHeader.html#a669bbd6fb1ddd7e0c0015ac859a3b0fc">00484</a> <span class="keywordtype">short</span> num_poles; <a name="l00485"></a><a class="code" href="structDGNElemBSplineCurveHeader.html#aae6f08655d14bfe6c255b3503898bbb9">00485</a> <span class="keywordtype">short</span> num_knots; <a name="l00486"></a>00486 } <a class="code" href="structDGNElemBSplineCurveHeader.html">DGNElemBSplineCurveHeader</a>; <a name="l00487"></a>00487 <a name="l00495"></a><a class="code" href="structDGNElemBSplineSurfaceBoundary.html">00495</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{ <a name="l00496"></a>00496 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> core; <a name="l00497"></a>00497 <a name="l00498"></a><a class="code" href="structDGNElemBSplineSurfaceBoundary.html#ac88de5fc3e4e835e6244609654b80a54">00498</a> <span class="keywordtype">short</span> number; <a name="l00499"></a><a class="code" href="structDGNElemBSplineSurfaceBoundary.html#accbd2acd565625c1505c6964e21e7431">00499</a> <span class="keywordtype">short</span> numverts; <a name="l00500"></a><a class="code" href="structDGNElemBSplineSurfaceBoundary.html#afa066064b82167060c684017cc083da2">00500</a> <a class="code" href="structDGNPoint.html">DGNPoint</a> vertices[1]; <a name="l00502"></a>00502 } <a class="code" href="structDGNElemBSplineSurfaceBoundary.html">DGNElemBSplineSurfaceBoundary</a>; <a name="l00503"></a>00503 <a name="l00511"></a><a class="code" href="structDGNElemKnotWeight.html">00511</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{ <a name="l00512"></a>00512 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> core; <a name="l00513"></a>00513 <a name="l00514"></a><a class="code" href="structDGNElemKnotWeight.html#a084eb65abb28cfeca722774ccff2a4fa">00514</a> <span class="keywordtype">float</span> array[1]; <a name="l00517"></a>00517 } <a class="code" href="structDGNElemKnotWeight.html">DGNElemKnotWeight</a>; <a name="l00518"></a>00518 <a name="l00519"></a>00519 <a name="l00520"></a>00520 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00521"></a>00521 <span class="comment">/* Structure types */</span> <a name="l00522"></a>00522 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00523"></a>00523 <a name="l00525"></a><a class="code" href="dgnlib_8h.html#a870ad65647c388db6eb3674c9c4d564f">00525</a> <span class="preprocessor">#define DGNST_CORE 1 </span> <a name="l00526"></a>00526 <span class="preprocessor"></span> <a name="l00528"></a><a class="code" href="dgnlib_8h.html#ad25ee7f8ab4b6a6cefca6685df4cbb7e">00528</a> <span class="preprocessor">#define DGNST_MULTIPOINT 2 </span> <a name="l00529"></a>00529 <span class="preprocessor"></span> <a name="l00531"></a><a class="code" href="dgnlib_8h.html#afdd4c29deadc5df0567497997883c73a">00531</a> <span class="preprocessor">#define DGNST_COLORTABLE 3 </span> <a name="l00532"></a>00532 <span class="preprocessor"></span> <a name="l00534"></a><a class="code" href="dgnlib_8h.html#a20e1ef6420c70331a71a92e02b5b0489">00534</a> <span class="preprocessor">#define DGNST_TCB 4 </span> <a name="l00535"></a>00535 <span class="preprocessor"></span> <a name="l00537"></a><a class="code" href="dgnlib_8h.html#a6e317ab9b137783ee9ab8acf0909a499">00537</a> <span class="preprocessor">#define DGNST_ARC 5 </span> <a name="l00538"></a>00538 <span class="preprocessor"></span> <a name="l00540"></a><a class="code" href="dgnlib_8h.html#a17b811d501984bbba5eb9e0fd5d3671e">00540</a> <span class="preprocessor">#define DGNST_TEXT 6 </span> <a name="l00541"></a>00541 <span class="preprocessor"></span> <a name="l00543"></a><a class="code" href="dgnlib_8h.html#a4549740255dec1453eba88c4c479974a">00543</a> <span class="preprocessor">#define DGNST_COMPLEX_HEADER 7</span> <a name="l00544"></a>00544 <span class="preprocessor"></span> <a name="l00546"></a><a class="code" href="dgnlib_8h.html#a885b449fde88dedb832c9a1d9d948daf">00546</a> <span class="preprocessor">#define DGNST_CELL_HEADER 8</span> <a name="l00547"></a>00547 <span class="preprocessor"></span> <a name="l00549"></a><a class="code" href="dgnlib_8h.html#adb1442b2bc30c29e9493a42ca0e13f55">00549</a> <span class="preprocessor">#define DGNST_TAG_VALUE 9</span> <a name="l00550"></a>00550 <span class="preprocessor"></span> <a name="l00552"></a><a class="code" href="dgnlib_8h.html#a4eafcb8780b1ba040b09e94edc8af39f">00552</a> <span class="preprocessor">#define DGNST_TAG_SET 10</span> <a name="l00553"></a>00553 <span class="preprocessor"></span> <a name="l00555"></a><a class="code" href="dgnlib_8h.html#a807018d88c59eec8a19422053b95fc45">00555</a> <span class="preprocessor">#define DGNST_CELL_LIBRARY 11</span> <a name="l00556"></a>00556 <span class="preprocessor"></span> <a name="l00558"></a><a class="code" href="dgnlib_8h.html#afcd5b64bf61f51f3e3b1d87cdcf384c9">00558</a> <span class="preprocessor">#define DGNST_CONE 12</span> <a name="l00559"></a>00559 <span class="preprocessor"></span> <a name="l00561"></a><a class="code" href="dgnlib_8h.html#a4dfd2767d66360072d7d2e8fc5b2a5e9">00561</a> <span class="preprocessor">#define DGNST_TEXT_NODE 13</span> <a name="l00562"></a>00562 <span class="preprocessor"></span> <a name="l00564"></a><a class="code" href="dgnlib_8h.html#af4b6c7bf187d9665f1ba1d6c14563594">00564</a> <span class="preprocessor">#define DGNST_BSPLINE_SURFACE_HEADER 14</span> <a name="l00565"></a>00565 <span class="preprocessor"></span> <a name="l00567"></a><a class="code" href="dgnlib_8h.html#a071ec6b9fdb963877096b2da1a349590">00567</a> <span class="preprocessor">#define DGNST_BSPLINE_CURVE_HEADER 15</span> <a name="l00568"></a>00568 <span class="preprocessor"></span> <a name="l00570"></a><a class="code" href="dgnlib_8h.html#a3b665617fd7017315f2777a09dbb1667">00570</a> <span class="preprocessor">#define DGNST_BSPLINE_SURFACE_BOUNDARY 16</span> <a name="l00571"></a>00571 <span class="preprocessor"></span> <a name="l00573"></a><a class="code" href="dgnlib_8h.html#aa5d909258d997222926d16f20c3847f6">00573</a> <span class="preprocessor">#define DGNST_KNOT_WEIGHT 17</span> <a name="l00574"></a>00574 <span class="preprocessor"></span> <a name="l00576"></a><a class="code" href="dgnlib_8h.html#a606af4532a0386aa934ad42864007b40">00576</a> <span class="preprocessor">#define DGNST_SHARED_CELL_DEFN 18</span> <a name="l00577"></a>00577 <span class="preprocessor"></span> <a name="l00578"></a>00578 <a name="l00579"></a>00579 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00580"></a>00580 <span class="comment">/* Element types */</span> <a name="l00581"></a>00581 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00582"></a>00582 <span class="preprocessor">#define DGNT_CELL_LIBRARY 1</span> <a name="l00583"></a>00583 <span class="preprocessor"></span><span class="preprocessor">#define DGNT_CELL_HEADER 2</span> <a name="l00584"></a>00584 <span class="preprocessor"></span><span class="preprocessor">#define DGNT_LINE 3</span> <a name="l00585"></a>00585 <span class="preprocessor"></span><span class="preprocessor">#define DGNT_LINE_STRING 4</span> <a name="l00586"></a>00586 <span class="preprocessor"></span><span class="preprocessor">#define DGNT_GROUP_DATA 5</span> <a name="l00587"></a>00587 <span class="preprocessor"></span><span class="preprocessor">#define DGNT_SHAPE 6</span> <a name="l00588"></a>00588 <span class="preprocessor"></span><span class="preprocessor">#define DGNT_TEXT_NODE 7</span> <a name="l00589"></a>00589 <span class="preprocessor"></span><span class="preprocessor">#define DGNT_DIGITIZER_SETUP 8</span> <a name="l00590"></a>00590 <span class="preprocessor"></span><span class="preprocessor">#define DGNT_TCB 9</span> <a name="l00591"></a>00591 <span class="preprocessor"></span><span class="preprocessor">#define DGNT_LEVEL_SYMBOLOGY 10</span> <a name="l00592"></a>00592 <span class="preprocessor"></span><span class="preprocessor">#define DGNT_CURVE 11</span> <a name="l00593"></a>00593 <span class="preprocessor"></span><span class="preprocessor">#define DGNT_COMPLEX_CHAIN_HEADER 12</span> <a name="l00594"></a>00594 <span class="preprocessor"></span><span class="preprocessor">#define DGNT_COMPLEX_SHAPE_HEADER 14</span> <a name="l00595"></a>00595 <span class="preprocessor"></span><span class="preprocessor">#define DGNT_ELLIPSE 15</span> <a name="l00596"></a>00596 <span class="preprocessor"></span><span class="preprocessor">#define DGNT_ARC 16</span> <a name="l00597"></a>00597 <span class="preprocessor"></span><span class="preprocessor">#define DGNT_TEXT 17</span> <a name="l00598"></a>00598 <span class="preprocessor"></span><span class="preprocessor">#define DGNT_3DSURFACE_HEADER 18</span> <a name="l00599"></a>00599 <span class="preprocessor"></span><span class="preprocessor">#define DGNT_3DSOLID_HEADER 19</span> <a name="l00600"></a>00600 <span class="preprocessor"></span><span class="preprocessor">#define DGNT_BSPLINE_POLE 21</span> <a name="l00601"></a>00601 <span class="preprocessor"></span><span class="preprocessor">#define DGNT_POINT_STRING 22</span> <a name="l00602"></a>00602 <span class="preprocessor"></span><span class="preprocessor">#define DGNT_BSPLINE_SURFACE_HEADER 24</span> <a name="l00603"></a>00603 <span class="preprocessor"></span><span class="preprocessor">#define DGNT_BSPLINE_SURFACE_BOUNDARY 25</span> <a name="l00604"></a>00604 <span class="preprocessor"></span><span class="preprocessor">#define DGNT_BSPLINE_KNOT 26</span> <a name="l00605"></a>00605 <span class="preprocessor"></span><span class="preprocessor">#define DGNT_BSPLINE_CURVE_HEADER 27</span> <a name="l00606"></a>00606 <span class="preprocessor"></span><span class="preprocessor">#define DGNT_BSPLINE_WEIGHT_FACTOR 28</span> <a name="l00607"></a>00607 <span class="preprocessor"></span><span class="preprocessor">#define DGNT_CONE 23</span> <a name="l00608"></a>00608 <span class="preprocessor"></span><span class="preprocessor">#define DGNT_SHARED_CELL_DEFN 34</span> <a name="l00609"></a>00609 <span class="preprocessor"></span><span class="preprocessor">#define DGNT_SHARED_CELL_ELEM 35</span> <a name="l00610"></a>00610 <span class="preprocessor"></span><span class="preprocessor">#define DGNT_TAG_VALUE 37</span> <a name="l00611"></a>00611 <span class="preprocessor"></span><span class="preprocessor">#define DGNT_APPLICATION_ELEM 66</span> <a name="l00612"></a>00612 <span class="preprocessor"></span> <a name="l00613"></a>00613 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00614"></a>00614 <span class="comment">/* Line Styles */</span> <a name="l00615"></a>00615 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00616"></a>00616 <span class="preprocessor">#define DGNS_SOLID 0</span> <a name="l00617"></a>00617 <span class="preprocessor"></span><span class="preprocessor">#define DGNS_DOTTED 1</span> <a name="l00618"></a>00618 <span class="preprocessor"></span><span class="preprocessor">#define DGNS_MEDIUM_DASH 2</span> <a name="l00619"></a>00619 <span class="preprocessor"></span><span class="preprocessor">#define DGNS_LONG_DASH 3</span> <a name="l00620"></a>00620 <span class="preprocessor"></span><span class="preprocessor">#define DGNS_DOT_DASH 4</span> <a name="l00621"></a>00621 <span class="preprocessor"></span><span class="preprocessor">#define DGNS_SHORT_DASH 5</span> <a name="l00622"></a>00622 <span class="preprocessor"></span><span class="preprocessor">#define DGNS_DASH_DOUBLE_DOT 6</span> <a name="l00623"></a>00623 <span class="preprocessor"></span><span class="preprocessor">#define DGNS_LONG_DASH_SHORT_DASH 7</span> <a name="l00624"></a>00624 <span class="preprocessor"></span> <a name="l00625"></a>00625 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00626"></a>00626 <span class="comment">/* 3D Surface Types */</span> <a name="l00627"></a>00627 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00628"></a>00628 <span class="preprocessor">#define DGNSUT_SURFACE_OF_PROJECTION 0</span> <a name="l00629"></a>00629 <span class="preprocessor"></span><span class="preprocessor">#define DGNSUT_BOUNDED_PLANE 1</span> <a name="l00630"></a>00630 <span class="preprocessor"></span><span class="preprocessor">#define DGNSUT_BOUNDED_PLANE2 2</span> <a name="l00631"></a>00631 <span class="preprocessor"></span><span class="preprocessor">#define DGNSUT_RIGHT_CIRCULAR_CYLINDER 3</span> <a name="l00632"></a>00632 <span class="preprocessor"></span><span class="preprocessor">#define DGNSUT_RIGHT_CIRCULAR_CONE 4</span> <a name="l00633"></a>00633 <span class="preprocessor"></span><span class="preprocessor">#define DGNSUT_TABULATED_CYLINDER 5</span> <a name="l00634"></a>00634 <span class="preprocessor"></span><span class="preprocessor">#define DGNSUT_TABULATED_CONE 6</span> <a name="l00635"></a>00635 <span class="preprocessor"></span><span class="preprocessor">#define DGNSUT_CONVOLUTE 7</span> <a name="l00636"></a>00636 <span class="preprocessor"></span><span class="preprocessor">#define DGNSUT_SURFACE_OF_REVOLUTION 8</span> <a name="l00637"></a>00637 <span class="preprocessor"></span><span class="preprocessor">#define DGNSUT_WARPED_SURFACE 9</span> <a name="l00638"></a>00638 <span class="preprocessor"></span> <a name="l00639"></a>00639 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00640"></a>00640 <span class="comment">/* 3D Solid Types */</span> <a name="l00641"></a>00641 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00642"></a>00642 <span class="preprocessor">#define DGNSOT_VOLUME_OF_PROJECTION 0</span> <a name="l00643"></a>00643 <span class="preprocessor"></span><span class="preprocessor">#define DGNSOT_VOLUME_OF_REVOLUTION 1</span> <a name="l00644"></a>00644 <span class="preprocessor"></span><span class="preprocessor">#define DGNSOT_BOUNDED_VOLUME 2</span> <a name="l00645"></a>00645 <span class="preprocessor"></span> <a name="l00646"></a>00646 <a name="l00647"></a>00647 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00648"></a>00648 <span class="comment">/* Class */</span> <a name="l00649"></a>00649 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00650"></a>00650 <span class="preprocessor">#define DGNC_PRIMARY 0</span> <a name="l00651"></a>00651 <span class="preprocessor"></span><span class="preprocessor">#define DGNC_PATTERN_COMPONENT 1</span> <a name="l00652"></a>00652 <span class="preprocessor"></span><span class="preprocessor">#define DGNC_CONSTRUCTION_ELEMENT 2</span> <a name="l00653"></a>00653 <span class="preprocessor"></span><span class="preprocessor">#define DGNC_DIMENSION_ELEMENT 3</span> <a name="l00654"></a>00654 <span class="preprocessor"></span><span class="preprocessor">#define DGNC_PRIMARY_RULE_ELEMENT 4</span> <a name="l00655"></a>00655 <span class="preprocessor"></span><span class="preprocessor">#define DGNC_LINEAR_PATTERNED_ELEMENT 5</span> <a name="l00656"></a>00656 <span class="preprocessor"></span><span class="preprocessor">#define DGNC_CONSTRUCTION_RULE_ELEMENT 6</span> <a name="l00657"></a>00657 <span class="preprocessor"></span> <a name="l00658"></a>00658 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00659"></a>00659 <span class="comment">/* Group Data level numbers. */</span> <a name="l00660"></a>00660 <span class="comment">/* */</span> <a name="l00661"></a>00661 <span class="comment">/* These are symbolic values for the typ 5 (DGNT_GROUP_DATA) */</span> <a name="l00662"></a>00662 <span class="comment">/* level values that have special meanings. */</span> <a name="l00663"></a>00663 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00664"></a>00664 <span class="preprocessor">#define DGN_GDL_COLOR_TABLE 1</span> <a name="l00665"></a>00665 <span class="preprocessor"></span><span class="preprocessor">#define DGN_GDL_NAMED_VIEW 3</span> <a name="l00666"></a>00666 <span class="preprocessor"></span><span class="preprocessor">#define DGN_GDL_REF_FILE 9</span> <a name="l00667"></a>00667 <span class="preprocessor"></span> <a name="l00668"></a>00668 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00669"></a>00669 <span class="comment">/* Word 17 property flags. */</span> <a name="l00670"></a>00670 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00671"></a>00671 <span class="preprocessor">#define DGNPF_HOLE 0x8000</span> <a name="l00672"></a>00672 <span class="preprocessor"></span><span class="preprocessor">#define DGNPF_SNAPPABLE 0x4000</span> <a name="l00673"></a>00673 <span class="preprocessor"></span><span class="preprocessor">#define DGNPF_PLANAR 0x2000</span> <a name="l00674"></a>00674 <span class="preprocessor"></span><span class="preprocessor">#define DGNPF_ORIENTATION 0x1000</span> <a name="l00675"></a>00675 <span class="preprocessor"></span><span class="preprocessor">#define DGNPF_ATTRIBUTES 0x0800</span> <a name="l00676"></a>00676 <span class="preprocessor"></span><span class="preprocessor">#define DGNPF_MODIFIED 0x0400</span> <a name="l00677"></a>00677 <span class="preprocessor"></span><span class="preprocessor">#define DGNPF_NEW 0x0200</span> <a name="l00678"></a>00678 <span class="preprocessor"></span><span class="preprocessor">#define DGNPF_LOCKED 0x0100</span> <a name="l00679"></a>00679 <span class="preprocessor"></span><span class="preprocessor">#define DGNPF_CLASS 0x000f</span> <a name="l00680"></a>00680 <span class="preprocessor"></span> <a name="l00681"></a>00681 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00682"></a>00682 <span class="comment">/* DGNElementInfo flag values. */</span> <a name="l00683"></a>00683 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00684"></a>00684 <span class="preprocessor">#define DGNEIF_DELETED 0x01</span> <a name="l00685"></a>00685 <span class="preprocessor"></span><span class="preprocessor">#define DGNEIF_COMPLEX 0x02</span> <a name="l00686"></a>00686 <span class="preprocessor"></span> <a name="l00687"></a>00687 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00688"></a>00688 <span class="comment">/* Justifications */</span> <a name="l00689"></a>00689 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00690"></a>00690 <span class="preprocessor">#define DGNJ_LEFT_TOP 0</span> <a name="l00691"></a>00691 <span class="preprocessor"></span><span class="preprocessor">#define DGNJ_LEFT_CENTER 1</span> <a name="l00692"></a>00692 <span class="preprocessor"></span><span class="preprocessor">#define DGNJ_LEFT_BOTTOM 2</span> <a name="l00693"></a>00693 <span class="preprocessor"></span><span class="preprocessor">#define DGNJ_LEFTMARGIN_TOP 3 </span><span class="comment">/* text node header only */</span> <a name="l00694"></a>00694 <span class="preprocessor">#define DGNJ_LEFTMARGIN_CENTER 4 </span><span class="comment">/* text node header only */</span> <a name="l00695"></a>00695 <span class="preprocessor">#define DGNJ_LEFTMARGIN_BOTTOM 5 </span><span class="comment">/* text node header only */</span> <a name="l00696"></a>00696 <span class="preprocessor">#define DGNJ_CENTER_TOP 6</span> <a name="l00697"></a>00697 <span class="preprocessor"></span><span class="preprocessor">#define DGNJ_CENTER_CENTER 7</span> <a name="l00698"></a>00698 <span class="preprocessor"></span><span class="preprocessor">#define DGNJ_CENTER_BOTTOM 8</span> <a name="l00699"></a>00699 <span class="preprocessor"></span><span class="preprocessor">#define DGNJ_RIGHTMARGIN_TOP 9 </span><span class="comment">/* text node header only */</span> <a name="l00700"></a>00700 <span class="preprocessor">#define DGNJ_RIGHTMARGIN_CENTER 10 </span><span class="comment">/* text node header only */</span> <a name="l00701"></a>00701 <span class="preprocessor">#define DGNJ_RIGHTMARGIN_BOTTOM 11 </span><span class="comment">/* text node header only */</span> <a name="l00702"></a>00702 <span class="preprocessor">#define DGNJ_RIGHT_TOP 12</span> <a name="l00703"></a>00703 <span class="preprocessor"></span><span class="preprocessor">#define DGNJ_RIGHT_CENTER 13</span> <a name="l00704"></a>00704 <span class="preprocessor"></span><span class="preprocessor">#define DGNJ_RIGHT_BOTTOM 14</span> <a name="l00705"></a>00705 <span class="preprocessor"></span> <a name="l00706"></a>00706 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00707"></a>00707 <span class="comment">/* DGN file reading options. */</span> <a name="l00708"></a>00708 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00709"></a>00709 <span class="preprocessor">#define DGNO_CAPTURE_RAW_DATA 0x01</span> <a name="l00710"></a>00710 <span class="preprocessor"></span> <a name="l00711"></a>00711 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00712"></a>00712 <span class="comment">/* Known attribute linkage types, including my synthetic ones. */</span> <a name="l00713"></a>00713 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00714"></a>00714 <span class="preprocessor">#define DGNLT_DMRS 0x0000</span> <a name="l00715"></a>00715 <span class="preprocessor"></span><span class="preprocessor">#define DGNLT_INFORMIX 0x3848</span> <a name="l00716"></a>00716 <span class="preprocessor"></span><span class="preprocessor">#define DGNLT_ODBC 0x5e62</span> <a name="l00717"></a>00717 <span class="preprocessor"></span><span class="preprocessor">#define DGNLT_ORACLE 0x6091</span> <a name="l00718"></a>00718 <span class="preprocessor"></span><span class="preprocessor">#define DGNLT_RIS 0x71FB</span> <a name="l00719"></a>00719 <span class="preprocessor"></span><span class="preprocessor">#define DGNLT_SYBASE 0x4f58</span> <a name="l00720"></a>00720 <span class="preprocessor"></span><span class="preprocessor">#define DGNLT_XBASE 0x1971</span> <a name="l00721"></a>00721 <span class="preprocessor"></span><span class="preprocessor">#define DGNLT_SHAPE_FILL 0x0041</span> <a name="l00722"></a>00722 <span class="preprocessor"></span><span class="preprocessor">#define DGNLT_ASSOC_ID 0x7D2F</span> <a name="l00723"></a>00723 <span class="preprocessor"></span> <a name="l00724"></a>00724 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00725"></a>00725 <span class="comment">/* File creation options. */</span> <a name="l00726"></a>00726 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00727"></a>00727 <a name="l00728"></a>00728 <span class="preprocessor">#define DGNCF_USE_SEED_UNITS 0x01</span> <a name="l00729"></a>00729 <span class="preprocessor"></span><span class="preprocessor">#define DGNCF_USE_SEED_ORIGIN 0x02</span> <a name="l00730"></a>00730 <span class="preprocessor"></span><span class="preprocessor">#define DGNCF_COPY_SEED_FILE_COLOR_TABLE 0x04</span> <a name="l00731"></a>00731 <span class="preprocessor"></span><span class="preprocessor">#define DGNCF_COPY_WHOLE_SEED_FILE 0x08</span> <a name="l00732"></a>00732 <span class="preprocessor"></span> <a name="l00733"></a>00733 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00734"></a>00734 <span class="comment">/* B-Spline Curve flags. Also used for U-direction of surfaces */</span> <a name="l00735"></a>00735 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00736"></a>00736 <span class="preprocessor">#define DGNBSC_CURVE_DISPLAY 0x10</span> <a name="l00737"></a>00737 <span class="preprocessor"></span><span class="preprocessor">#define DGNBSC_POLY_DISPLAY 0x20</span> <a name="l00738"></a>00738 <span class="preprocessor"></span><span class="preprocessor">#define DGNBSC_RATIONAL 0x40</span> <a name="l00739"></a>00739 <span class="preprocessor"></span><span class="preprocessor">#define DGNBSC_CLOSED 0x80</span> <a name="l00740"></a>00740 <span class="preprocessor"></span> <a name="l00741"></a>00741 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00742"></a>00742 <span class="comment">/* B-Spline Curve flags for V-direction of surfaces. */</span> <a name="l00743"></a>00743 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00744"></a>00744 <span class="preprocessor">#define DGNBSS_ARC_SPACING 0x40</span> <a name="l00745"></a>00745 <span class="preprocessor"></span><span class="preprocessor">#define DGNBSS_CLOSED 0x80</span> <a name="l00746"></a>00746 <span class="preprocessor"></span> <a name="l00747"></a>00747 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00748"></a>00748 <span class="comment">/* API */</span> <a name="l00749"></a>00749 <span class="comment">/* -------------------------------------------------------------------- */</span> <a name="l00751"></a><a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">00751</a> <span class="keyword">typedef</span> <span class="keywordtype">void</span> *<a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a>; <a name="l00752"></a>00752 <a name="l00753"></a>00753 <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a> CPL_DLL <a class="code" href="dgnlib_8h.html#ae0454754ee93657cc7e53077fc26f6f3">DGNOpen</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> *, <span class="keywordtype">int</span> ); <a name="l00754"></a>00754 <span class="keywordtype">void</span> CPL_DLL <a class="code" href="dgnlib_8h.html#aeceb3a222e656d10a7c653246e17815f">DGNSetOptions</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a>, <span class="keywordtype">int</span> ); <a name="l00755"></a>00755 <span class="keywordtype">int</span> CPL_DLL <a class="code" href="dgnlib_8h.html#a6c8bd847614910e5bb614f8e89d8feae">DGNTestOpen</a>( GByte *, <span class="keywordtype">int</span> ); <a name="l00756"></a>00756 <span class="keyword">const</span> <a class="code" href="structDGNElementInfo.html">DGNElementInfo</a> CPL_DLL *<a class="code" href="dgnlib_8h.html#aa04b707ade103e34fe7db388f1a547f7">DGNGetElementIndex</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a>, <span class="keywordtype">int</span> * ); <a name="l00757"></a>00757 <span class="keywordtype">int</span> CPL_DLL <a class="code" href="dgnlib_8h.html#a73872ebb206a4973c711a8d5bf992a4d">DGNGetExtents</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a>, <span class="keywordtype">double</span> * ); <a name="l00758"></a>00758 <span class="keywordtype">int</span> CPL_DLL <a class="code" href="dgnlib_8h.html#a330609eeda633926167085d9a07040dc">DGNGetDimension</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a> ); <a name="l00759"></a>00759 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> CPL_DLL *<a class="code" href="dgnlib_8h.html#abd8d82b46b6d31706e1e57f66b27c83d">DGNReadElement</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a> ); <a name="l00760"></a>00760 <span class="keywordtype">void</span> CPL_DLL <a class="code" href="dgnlib_8h.html#a5b30c090f3608d662968812927942f39">DGNFreeElement</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a>, <a class="code" href="structDGNElemCore.html">DGNElemCore</a> * ); <a name="l00761"></a>00761 <span class="keywordtype">void</span> CPL_DLL <a class="code" href="dgnlib_8h.html#aa46462f04d30ace50b2c0a25584177ae">DGNRewind</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a> ); <a name="l00762"></a>00762 <span class="keywordtype">int</span> CPL_DLL <a class="code" href="dgnlib_8h.html#afc4be72f94b9715da75d6906440a157d">DGNGotoElement</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a>, <span class="keywordtype">int</span> ); <a name="l00763"></a>00763 <span class="keywordtype">void</span> CPL_DLL <a class="code" href="dgnlib_8h.html#af6e48839c19e7651b2adb55ae3034ff3">DGNClose</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a> ); <a name="l00764"></a>00764 <span class="keywordtype">int</span> CPL_DLL <a class="code" href="dgnlib_8h.html#adc2f8f7de27171f2f97e55f10b4171a4">DGNLoadTCB</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a> ); <a name="l00765"></a>00765 <span class="keywordtype">int</span> CPL_DLL <a class="code" href="dgnlib_8h.html#af309aa7fd23075cdb0828e8e485e7958">DGNLookupColor</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a>, <span class="keywordtype">int</span>, <span class="keywordtype">int</span> *, <span class="keywordtype">int</span> *, <span class="keywordtype">int</span> * ); <a name="l00766"></a>00766 <span class="keywordtype">int</span> CPL_DLL <a class="code" href="dgnlib_8h.html#a092f190ceb618fc67eea38d108a22b2e">DGNGetShapeFillInfo</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a>, <a class="code" href="structDGNElemCore.html">DGNElemCore</a> *, <span class="keywordtype">int</span> * ); <a name="l00767"></a>00767 <span class="keywordtype">int</span> CPL_DLL <a class="code" href="dgnlib_8h.html#a5fceedf3685946dcb363d038c6d34511">DGNGetAssocID</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a>, <a class="code" href="structDGNElemCore.html">DGNElemCore</a> * ); <a name="l00768"></a>00768 <span class="keywordtype">int</span> CPL_DLL <a class="code" href="dgnlib_8h.html#a0d31aef336a031b541e5fc4ab11a2570">DGNGetElementExtents</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a>, <a class="code" href="structDGNElemCore.html">DGNElemCore</a> *, <a name="l00769"></a>00769 <a class="code" href="structDGNPoint.html">DGNPoint</a> *, <a class="code" href="structDGNPoint.html">DGNPoint</a> * ); <a name="l00770"></a>00770 <a name="l00771"></a>00771 <span class="keywordtype">void</span> CPL_DLL <a class="code" href="dgnlib_8h.html#abf281c8993335698a2085d1ab11b89b0">DGNDumpElement</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a>, <a class="code" href="structDGNElemCore.html">DGNElemCore</a> *, FILE * ); <a name="l00772"></a>00772 <span class="keyword">const</span> <span class="keywordtype">char</span> CPL_DLL *<a class="code" href="dgnlib_8h.html#ae636d0e4ba6332b835cfaad828e443c4">DGNTypeToName</a>( <span class="keywordtype">int</span> ); <a name="l00773"></a>00773 <a name="l00774"></a>00774 <span class="keywordtype">void</span> CPL_DLL DGNRotationToQuaternion( <span class="keywordtype">double</span>, <span class="keywordtype">int</span> * ); <a name="l00775"></a>00775 <span class="keywordtype">void</span> CPL_DLL DGNQuaternionToMatrix( <span class="keywordtype">int</span> *, <span class="keywordtype">float</span> * ); <a name="l00776"></a>00776 <span class="keywordtype">int</span> CPL_DLL <a class="code" href="dgnlib_8h.html#a35b411bff271b22a0de885ed5e411895">DGNStrokeArc</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a>, <a class="code" href="structDGNElemArc.html">DGNElemArc</a> *, <span class="keywordtype">int</span>, <a class="code" href="structDGNPoint.html">DGNPoint</a> * ); <a name="l00777"></a>00777 <span class="keywordtype">int</span> CPL_DLL <a class="code" href="dgnlib_8h.html#a3baedd71e57a57a9039ff2b6ddd4dbf5">DGNStrokeCurve</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a>, <a class="code" href="structDGNElemMultiPoint.html">DGNElemMultiPoint</a>*, <span class="keywordtype">int</span>, <a class="code" href="structDGNPoint.html">DGNPoint</a> * ); <a name="l00778"></a>00778 <span class="keywordtype">void</span> CPL_DLL <a class="code" href="dgnlib_8h.html#ab98324a5081aaf47be4b72b85e0de28d">DGNSetSpatialFilter</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a> hDGN, <a name="l00779"></a>00779 <span class="keywordtype">double</span> dfXMin, <span class="keywordtype">double</span> dfYMin, <a name="l00780"></a>00780 <span class="keywordtype">double</span> dfXMax, <span class="keywordtype">double</span> dfYMax ); <a name="l00781"></a>00781 <span class="keywordtype">int</span> CPL_DLL <a class="code" href="dgnlib_8h.html#add525ecb37d6cbe6420b7d0a3381ee3a">DGNGetAttrLinkSize</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a>, <a class="code" href="structDGNElemCore.html">DGNElemCore</a> *, <span class="keywordtype">int</span> ); <a name="l00782"></a>00782 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> CPL_DLL * <a name="l00783"></a>00783 <a class="code" href="dgnlib_8h.html#a594b14cd6e57d3780be4273a60433fa8">DGNGetLinkage</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a> hDGN, <a class="code" href="structDGNElemCore.html">DGNElemCore</a> *psElement, <a name="l00784"></a>00784 <span class="keywordtype">int</span> iIndex, <span class="keywordtype">int</span> *pnLinkageType, <a name="l00785"></a>00785 <span class="keywordtype">int</span> *pnEntityNum, <span class="keywordtype">int</span> *pnMSLink, <span class="keywordtype">int</span> *pnLinkSize); <a name="l00786"></a>00786 <a name="l00787"></a>00787 <span class="comment">/* Write API */</span> <a name="l00788"></a>00788 <a name="l00789"></a>00789 <span class="keywordtype">int</span> CPL_DLL <a class="code" href="dgnlib_8h.html#a0cc41dfe749887d4712ef09a20b0fd25">DGNWriteElement</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a>, <a class="code" href="structDGNElemCore.html">DGNElemCore</a> * ); <a name="l00790"></a>00790 <span class="keywordtype">int</span> CPL_DLL <a class="code" href="dgnlib_8h.html#aef85fb74dfea15cd85f50f1fa71150d4">DGNResizeElement</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a>, <a class="code" href="structDGNElemCore.html">DGNElemCore</a> *, <span class="keywordtype">int</span> ); <a name="l00791"></a>00791 <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a> CPL_DLL <a name="l00792"></a>00792 <a class="code" href="dgnlib_8h.html#a06a90826e77a0cf43c6fd4ef0ca44118">DGNCreate</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> *pszNewFilename, <span class="keyword">const</span> <span class="keywordtype">char</span> *pszSeedFile, <a name="l00793"></a>00793 <span class="keywordtype">int</span> nCreationFlags, <a name="l00794"></a>00794 <span class="keywordtype">double</span> dfOriginX, <span class="keywordtype">double</span> dfOriginY, <span class="keywordtype">double</span> dfOriginZ, <a name="l00795"></a>00795 <span class="keywordtype">int</span> nMasterUnitPerSubUnit, <span class="keywordtype">int</span> nUORPerSubUnit, <a name="l00796"></a>00796 <span class="keyword">const</span> <span class="keywordtype">char</span> *pszMasterUnits, <span class="keyword">const</span> <span class="keywordtype">char</span> *pszSubUnits ); <a name="l00797"></a>00797 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> CPL_DLL *<a class="code" href="dgnlib_8h.html#a7f5fcdc5ce09e57c61eb63fb6888ed9f">DGNCloneElement</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a> hDGNSrc, <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a> hDGNDst, <a name="l00798"></a>00798 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> *psSrcElement ); <a name="l00799"></a>00799 <span class="keywordtype">int</span> CPL_DLL <a class="code" href="dgnlib_8h.html#af240e9553ee6afc2560bc877243a02d2">DGNUpdateElemCore</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a> hDGN, <a class="code" href="structDGNElemCore.html">DGNElemCore</a> *psElement, <a name="l00800"></a>00800 <span class="keywordtype">int</span> nLevel, <span class="keywordtype">int</span> nGraphicGroup, <span class="keywordtype">int</span> nColor, <a name="l00801"></a>00801 <span class="keywordtype">int</span> nWeight, <span class="keywordtype">int</span> nStyle ); <a name="l00802"></a>00802 <span class="keywordtype">int</span> CPL_DLL <a class="code" href="dgnlib_8h.html#a855505ed7e8de4379768b81e294d90da">DGNUpdateElemCoreExtended</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a> hDGN, <a name="l00803"></a>00803 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> *psElement ); <a name="l00804"></a>00804 <a name="l00805"></a>00805 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> CPL_DLL * <a name="l00806"></a>00806 <a class="code" href="dgnlib_8h.html#a96d0d65da248090501d5f0ad26f52d02">DGNCreateMultiPointElem</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a> hDGN, <span class="keywordtype">int</span> nType, <a name="l00807"></a>00807 <span class="keywordtype">int</span> nPointCount, <a class="code" href="structDGNPoint.html">DGNPoint</a>*pasVertices ); <a name="l00808"></a>00808 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> CPL_DLL * <a name="l00809"></a>00809 DGNCreateArcElem2D( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a> hDGN, <span class="keywordtype">int</span> nType, <a name="l00810"></a>00810 <span class="keywordtype">double</span> dfOriginX, <span class="keywordtype">double</span> dfOriginY, <a name="l00811"></a>00811 <span class="keywordtype">double</span> dfPrimaryAxis, <span class="keywordtype">double</span> dfSecondaryAxis, <a name="l00812"></a>00812 <span class="keywordtype">double</span> dfRotation, <a name="l00813"></a>00813 <span class="keywordtype">double</span> dfStartAngle, <span class="keywordtype">double</span> dfSweepAngle ); <a name="l00814"></a>00814 <a name="l00815"></a>00815 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> CPL_DLL * <a name="l00816"></a>00816 <a class="code" href="dgnlib_8h.html#a652a20ef0b02a2e94b22ecccbe031ea7">DGNCreateArcElem</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a> hDGN, <span class="keywordtype">int</span> nType, <a name="l00817"></a>00817 <span class="keywordtype">double</span> dfOriginX, <span class="keywordtype">double</span> dfOriginY, <a name="l00818"></a>00818 <span class="keywordtype">double</span> dfOriginZ, <a name="l00819"></a>00819 <span class="keywordtype">double</span> dfPrimaryAxis, <span class="keywordtype">double</span> dfSecondaryAxis, <a name="l00820"></a>00820 <span class="keywordtype">double</span> dfStartAngle, <span class="keywordtype">double</span> dfSweepAngle, <a name="l00821"></a>00821 <span class="keywordtype">double</span> dfRotation, <span class="keywordtype">int</span> *panQuaternion ); <a name="l00822"></a>00822 <a name="l00823"></a>00823 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> CPL_DLL * <a name="l00824"></a>00824 <a class="code" href="dgnlib_8h.html#a08eb421855615aff9dd71fb6e17f38c0">DGNCreateConeElem</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a> hDGN, <a name="l00825"></a>00825 <span class="keywordtype">double</span> center_1X, <span class="keywordtype">double</span> center_1Y, <a name="l00826"></a>00826 <span class="keywordtype">double</span> center_1Z, <span class="keywordtype">double</span> radius_1, <a name="l00827"></a>00827 <span class="keywordtype">double</span> center_2X, <span class="keywordtype">double</span> center_2Y, <a name="l00828"></a>00828 <span class="keywordtype">double</span> center_2Z, <span class="keywordtype">double</span> radius_2, <a name="l00829"></a>00829 <span class="keywordtype">int</span> *panQuaternion ); <a name="l00830"></a>00830 <a name="l00831"></a>00831 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> CPL_DLL * <a name="l00832"></a>00832 <a class="code" href="dgnlib_8h.html#a9677765fda6a62862ea00607e1876f91">DGNCreateTextElem</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a> hDGN, <span class="keyword">const</span> <span class="keywordtype">char</span> *pszText, <a name="l00833"></a>00833 <span class="keywordtype">int</span> nFontId, <span class="keywordtype">int</span> nJustification, <a name="l00834"></a>00834 <span class="keywordtype">double</span> dfLengthMult, <span class="keywordtype">double</span> dfHeightMult, <a name="l00835"></a>00835 <span class="keywordtype">double</span> dfRotation, <span class="keywordtype">int</span> *panQuaternion, <a name="l00836"></a>00836 <span class="keywordtype">double</span> dfOriginX, <span class="keywordtype">double</span> dfOriginY, <span class="keywordtype">double</span> dfOriginZ ); <a name="l00837"></a>00837 <a name="l00838"></a>00838 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> CPL_DLL * <a name="l00839"></a>00839 <a class="code" href="dgnlib_8h.html#a772ae984d14c9cdccc91613cc0481ae2">DGNCreateColorTableElem</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a> hDGN, <span class="keywordtype">int</span> nScreenFlag, <a name="l00840"></a>00840 GByte abyColorInfo[256][3] ); <a name="l00841"></a>00841 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> CPL_DLL * <a name="l00842"></a>00842 <a class="code" href="dgnlib_8h.html#a114ea0c34c97b8f54244a24cc0c94008">DGNCreateComplexHeaderElem</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a> hDGN, <span class="keywordtype">int</span> nType, <a name="l00843"></a>00843 <span class="keywordtype">int</span> nTotLength, <span class="keywordtype">int</span> nNumElems ); <a name="l00844"></a>00844 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> CPL_DLL * <a name="l00845"></a>00845 <a class="code" href="dgnlib_8h.html#ad31f75eb1970475bc2da487e5fb1b240">DGNCreateComplexHeaderFromGroup</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a> hDGN, <span class="keywordtype">int</span> nType, <a name="l00846"></a>00846 <span class="keywordtype">int</span> nNumElems, <a class="code" href="structDGNElemCore.html">DGNElemCore</a> **papsElems ); <a name="l00847"></a>00847 <a name="l00848"></a>00848 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> CPL_DLL * <a name="l00849"></a>00849 <a class="code" href="dgnlib_8h.html#a64ad72448f8c9f316a37e083c7dda810">DGNCreateSolidHeaderElem</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a> hDGN, <span class="keywordtype">int</span> nType, <span class="keywordtype">int</span> nSurfType, <a name="l00850"></a>00850 <span class="keywordtype">int</span> nBoundElems, <span class="keywordtype">int</span> nTotLength, <span class="keywordtype">int</span> nNumElems ); <a name="l00851"></a>00851 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> CPL_DLL * <a name="l00852"></a>00852 <a class="code" href="dgnlib_8h.html#ad0548fa1ecb14bd759c96fb7504e6ac6">DGNCreateSolidHeaderFromGroup</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a> hDGN, <span class="keywordtype">int</span> nType, <span class="keywordtype">int</span> nSurfType, <a name="l00853"></a>00853 <span class="keywordtype">int</span> nBoundElems, <span class="keywordtype">int</span> nNumElems, <a name="l00854"></a>00854 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> **papsElems ); <a name="l00855"></a>00855 <a name="l00856"></a>00856 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> CPL_DLL * <a name="l00857"></a>00857 <a class="code" href="dgnlib_8h.html#a0873d27760275fc435eea105b152d776">DGNCreateCellHeaderElem</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a> hDGN, <span class="keywordtype">int</span> nTotLength, <span class="keyword">const</span> <span class="keywordtype">char</span> *pszName, <a name="l00858"></a>00858 <span class="keywordtype">short</span> nClass, <span class="keywordtype">short</span> *panLevels, <a name="l00859"></a>00859 <a class="code" href="structDGNPoint.html">DGNPoint</a> *psRangeLow, <a class="code" href="structDGNPoint.html">DGNPoint</a> *psRangeHigh, <a name="l00860"></a>00860 <a class="code" href="structDGNPoint.html">DGNPoint</a> *psOrigin, <span class="keywordtype">double</span> dfXScale, <span class="keywordtype">double</span> dfYScale, <a name="l00861"></a>00861 <span class="keywordtype">double</span> dfRotation ); <a name="l00862"></a>00862 <a name="l00863"></a>00863 <a class="code" href="structDGNElemCore.html">DGNElemCore</a> CPL_DLL * <a name="l00864"></a>00864 <a class="code" href="dgnlib_8h.html#adaae4c1b0caa15819c39b50b4ffcb5e3">DGNCreateCellHeaderFromGroup</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a> hDGN, <span class="keyword">const</span> <span class="keywordtype">char</span> *pszName, <a name="l00865"></a>00865 <span class="keywordtype">short</span> nClass, <span class="keywordtype">short</span> *panLevels, <a name="l00866"></a>00866 <span class="keywordtype">int</span> nNumElems, <a class="code" href="structDGNElemCore.html">DGNElemCore</a> **papsElems, <a name="l00867"></a>00867 <a class="code" href="structDGNPoint.html">DGNPoint</a> *psOrigin, <a name="l00868"></a>00868 <span class="keywordtype">double</span> dfXScale, <span class="keywordtype">double</span> dfYScale, <a name="l00869"></a>00869 <span class="keywordtype">double</span> dfRotation ); <a name="l00870"></a>00870 <a name="l00871"></a>00871 <span class="keywordtype">int</span> CPL_DLL <a class="code" href="dgnlib_8h.html#aa1cb53cb570fcb7f32b49d9c0c5d90aa">DGNAddMSLink</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a> hDGN, <a class="code" href="structDGNElemCore.html">DGNElemCore</a> *psElement, <a name="l00872"></a>00872 <span class="keywordtype">int</span> nLinkageType, <span class="keywordtype">int</span> nEntityNum, <span class="keywordtype">int</span> nMSLink ); <a name="l00873"></a>00873 <a name="l00874"></a>00874 <span class="keywordtype">int</span> CPL_DLL <a class="code" href="dgnlib_8h.html#a4d41221ea64fe57f53a25bb8d71d68c8">DGNAddRawAttrLink</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a> hDGN, <a class="code" href="structDGNElemCore.html">DGNElemCore</a> *psElement, <a name="l00875"></a>00875 <span class="keywordtype">int</span> nLinkSize, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *pabyRawLinkData ); <a name="l00876"></a>00876 <a name="l00877"></a>00877 <span class="keywordtype">int</span> CPL_DLL <a class="code" href="dgnlib_8h.html#a86b7ab8d0e63677099d566b0c21166a7">DGNAddShapeFillInfo</a>( <a class="code" href="dgnlib_8h.html#abac0922aafcfdc6c4f65f273a9cbdc0e">DGNHandle</a> hDGN, <a class="code" href="structDGNElemCore.html">DGNElemCore</a> *psElement, <a name="l00878"></a>00878 <span class="keywordtype">int</span> nColor ); <a name="l00879"></a>00879 <a name="l00880"></a>00880 <span class="keywordtype">int</span> CPL_DLL <a class="code" href="dgnlib_8h.html#ab16c80da5cc90fa541ac0eb541db1292">DGNElemTypeHasDispHdr</a>( <span class="keywordtype">int</span> nElemType ); <a name="l00881"></a>00881 <a name="l00882"></a>00882 CPL_C_END <a name="l00883"></a>00883 <a name="l00884"></a>00884 <span class="preprocessor">#endif </span><span class="comment">/* ndef _DGNLIB_H_INCLUDED */</span> </pre></div></div> <hr class="footer"/><address style="text-align: right;"><small>Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2-20100208 </small></address> </body> </html>