home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / opendc12.zip / od124os2.exe / od12osr1.exe / src / GeoTypes.idl < prev    next >
Text File  |  1997-03-21  |  3KB  |  98 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. #ifdef __PRIVATE__
  29. //#
  30. //#    File:        GeoTypes.idl
  31. //#
  32. //#    Contains:    xxx put contents here xxx
  33. //#
  34. //#    Written by:    xxx put writers here xxx
  35. //#
  36. //#    Copyright:    (r) 1994 by Apple Computer, Inc., all rights reserved.
  37. //#
  38. //#    Change History (most recent first):
  39. //#
  40. //#         <3>     1/13/95    RR        Added ODCoordinate, instead of including
  41. //#                                    ODTypesM.idl
  42. //#         <2>      6/7/94    RR        Privatise change log
  43. //#         <1>     5/23/94    RR        first checked in
  44. //#
  45. //#    To Do:
  46. //#
  47. #else
  48. //#    Copyright:    (r) 1993-1994 by Apple Computer, Inc., all rights reserved.
  49. #endif
  50.  
  51. //# For AltPoint problem
  52.  
  53. #ifndef _GEOTYPES_
  54. #define _GEOTYPES_
  55.  
  56. #if defined(__SOMIDL__) && defined(EMIT_GEOTYPES)
  57. #pragma somemittypes on
  58. #endif
  59.  
  60. typedef long ODCoordinate;    // Graphics coordinates; 16.16 fixed by default
  61.  
  62.  
  63. struct ODPoint {                  
  64.   ODCoordinate x, y;                // Identical to "gxPoint" in QD GX.
  65. };
  66.  
  67. // ODRect struct. We conditionalize this with a symbol, like the header files, to allow
  68. // alternate definitions to be included first; they can then #define _RECT_ to keep this one
  69. // from being defined here.
  70.  
  71. // Identical to "gxRect" in QD GX.
  72. struct ODRect {
  73.   ODCoordinate left;
  74.   ODCoordinate top;
  75.   ODCoordinate right;
  76.   ODCoordinate bottom;
  77. };
  78.  
  79. struct ODToolSpaceRect {
  80.   ODCoordinate left;
  81.   ODCoordinate top;
  82.   ODCoordinate right;
  83.   ODCoordinate bottom;
  84.   ODRect       floatRect;
  85. };
  86.  
  87. #if defined(__SOMIDL__) && defined(EMIT_GEOTYPES)
  88. #pragma somemittypes off
  89. #endif
  90.  
  91. module OpenDoc_GeoTypes 
  92. {
  93.     const string OpenDoc_GeoTypes_Version = "1.0.";
  94. };
  95.  
  96. #endif //# _GEOTYPES_
  97.  
  98.