home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / opendc12.zip / od124os2.exe / od12otk1.exe / include / GeoTypes.idl < prev    next >
Text File  |  1997-04-02  |  2KB  |  77 lines

  1. /* @(#)Z 1.4 com/src/include/idl/GeoTypes.idl, odcore, od96os2, odos29712d 97/03/21 17:18:30 (96/07/15 18:15:03) */
  2. //#====START_GENERATED_PROLOG======================================
  3. //#
  4. //#
  5. //#   COMPONENT_NAME: odcore
  6. //#
  7. //#   CLASSES: none
  8. //#
  9. //#   ORIGINS: 82,27
  10. //#
  11. //#
  12. //#   (C) COPYRIGHT International Business Machines Corp. 1995,1996
  13. //#   All Rights Reserved
  14. //#   Licensed Materials - Property of IBM
  15. //#   US Government Users Restricted Rights - Use, duplication or
  16. //#   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  17. //#       
  18. //#   IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  19. //#   ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  20. //#   PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  21. //#   CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
  22. //#   USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  23. //#   OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
  24. //#   OR PERFORMANCE OF THIS SOFTWARE.
  25. //#
  26. //#====END_GENERATED_PROLOG========================================
  27. //#
  28. //#    Copyright:    (r) 1993-1994 by Apple Computer, Inc., all rights reserved.
  29.  
  30. //# For AltPoint problem
  31.  
  32. #ifndef _GEOTYPES_
  33. #define _GEOTYPES_
  34.  
  35. #if defined(__SOMIDL__) && defined(EMIT_GEOTYPES)
  36. #pragma somemittypes on
  37. #endif
  38.  
  39. typedef long ODCoordinate;    // Graphics coordinates; 16.16 fixed by default
  40.  
  41.  
  42. struct ODPoint {                  
  43.   ODCoordinate x, y;                // Identical to "gxPoint" in QD GX.
  44. };
  45.  
  46. // ODRect struct. We conditionalize this with a symbol, like the header files, to allow
  47. // alternate definitions to be included first; they can then #define _RECT_ to keep this one
  48. // from being defined here.
  49.  
  50. // Identical to "gxRect" in QD GX.
  51. struct ODRect {
  52.   ODCoordinate left;
  53.   ODCoordinate top;
  54.   ODCoordinate right;
  55.   ODCoordinate bottom;
  56. };
  57.  
  58. struct ODToolSpaceRect {
  59.   ODCoordinate left;
  60.   ODCoordinate top;
  61.   ODCoordinate right;
  62.   ODCoordinate bottom;
  63.   ODRect       floatRect;
  64. };
  65.  
  66. #if defined(__SOMIDL__) && defined(EMIT_GEOTYPES)
  67. #pragma somemittypes off
  68. #endif
  69.  
  70. module OpenDoc_GeoTypes 
  71. {
  72.     const string OpenDoc_GeoTypes_Version = "1.0.";
  73. };
  74.  
  75. #endif //# _GEOTYPES_
  76.  
  77.