
/*
 * This file was generated by the SOM Compiler.
 * FileName: \odwin\h\POLYGON.h.
 * Generated using:
 *     SOM Precompiler somipc: 2.29.1.3
 *     SOM Emitter emith.dll: 2.41
 */

#ifndef SOM_Module_5codwin5ch5cPOLYGON_OpenDoc_Polygon_defined
#define SOM_Module_5codwin5ch5cPOLYGON_OpenDoc_Polygon_defined 1
#include <som.h>

/*
 * Start of user-defined types:
 */
typedef
ODByteArray ODContour;

/*
 * 
 * 	struct ODContour {
 * 	   ODSLong  nVertices;          // Variable-size struct:
 * 	   ODPoint  vertex[1];          // Array size is actually nVertices
 * 	};
 * 
 *  ODPolygon
 * 
 */
typedef
ODByteArray ODPolygon;

/*
 * 
 * 	struct ODPolygon {
 * 	  ODSLong  	 nContours;          	  // Variable-size struct:
 * 	  ODContour  firstContour;        // Rest of contours follow after first
 * 	};
 */
#define OpenDoc_Polygon_OpenDoc_Polygon_Version "1.0."

#ifndef SOM_DONT_USE_SHORT_NAMES
#ifndef SOMTGD_OpenDoc_Polygon_Version
    #ifdef OpenDoc_Polygon_Version
        #undef OpenDoc_Polygon_Version
        #define SOMTGD_OpenDoc_Polygon_Version 1
    #else
        #define OpenDoc_Polygon_Version OpenDoc_Polygon_OpenDoc_Polygon_Version
    #endif /* OpenDoc_Polygon_Version */
#endif /* SOMTGD_OpenDoc_Polygon_Version */
#endif /* SOM_DONT_USE_SHORT_NAMES */

/*
 * End of user-defined types.
 */
#endif /* SOM_Module_5codwin5ch5cPOLYGON_OpenDoc_Polygon_defined */
