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


#ifndef _GEOTYPES_
#define _GEOTYPES_

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

typedef long ODCoordinate;	// Graphics coordinates; 16.16 fixed by default

struct ODPoint {                  
  ODCoordinate x, y;                // Identical to "gxPoint" in QD GX.
};

// ODRect struct. We conditionalize this with a symbol, like the header files, to allow
// alternate definitions to be included first; they can then #define _RECT_ to keep this one
// from being defined here.

// Identical to "gxRect" in QD GX.
struct ODRect {
  ODCoordinate left;
  ODCoordinate top;
  ODCoordinate right;
  ODCoordinate bottom;
};

struct ODToolSpaceRect {
  ODCoordinate left;
  ODCoordinate top;
  ODCoordinate right;
  ODCoordinate bottom;
  ODRect       floatRect;
};

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

module OpenDoc_GeoTypes 
{
	const string OpenDoc_GeoTypes_Version = "1.0.";
};

#endif 

