home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
odtlktv4.zip
/
ODTLKT
/
TOOLKIT
/
IDL
/
GEOTYPES.IDL
< prev
next >
Wrap
Text File
|
1995-12-13
|
2KB
|
59 lines
/********************************************************************/
/* Licensed Materials - Property of IBM */
/* */
/* */
/* Copyright (C) International Business Machines Corp., 1994. */
/* Copyright (C) Apple Computer, Inc., 1994 */
/* */
/* US Government Users Restricted Rights - */
/* Use, duplication, or disclosure restricted */
/* by GSA ADP Schedule Contract with IBM Corp. */
/* */
/* */
/********************************************************************/
#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 { // Fixed-point point.
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 // _GEOTYPES_