//#
//#	File:		Polygon.idl
//#
//#	Contains:	xxx put contents here xxx
//#
//#	Written by:	xxx put writers here xxx
//#
//#	Copyright:	c 1994 by Apple Computer, Inc., all rights reserved.
//#
//#	Change History (most recent first):
//#
//#		 <1>	 5/23/94	RR		first checked in
//#
//#	To Do:
//#

//# For AltPoly

#ifndef _POLYGON_
#define _POLYGON_

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

#ifdef __SOMIDL__
#ifdef EMIT_POLYGON
#pragma somemittypes on
#endif
#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
	};
*/

#ifdef __SOMIDL__
#ifdef EMIT_POLYGON
#pragma somemittypes off
#endif
#endif

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

#endif //# _POLYGON_
