/* @(#)Z 1.3 com/src/include/idl/Polygon.idl, odcore, od96nt, odnt9712d 97/03/21 16:45:35 (96/07/15 18:15:21) */

#ifndef _POLYGON_
#define _POLYGON_

#ifndef _ODTYPESM_
#include "ODTypesM.idl"
#endif

#if defined(__SOMIDL__) && defined(EMIT_POLYGON)
#pragma somemittypes on
#endif

//==============================================================================
// ODContour
//==============================================================================

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
	};
*/

#if defined(__SOMIDL__) && defined(EMIT_POLYGON)
#pragma somemittypes off
#endif

module OpenDoc_Polygon 
{
	const string OpenDoc_Polygon_Version = "1.0.";
};

#endif 

