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

  1. /* @(#)Z 1.6 com/src/imaging/idl/CanvasB.idl, odimaging, od96os2, odos29712d 97/03/21 17:18:20 (96/10/29 09:25:48) */
  2. //#====START_GENERATED_PROLOG======================================
  3. //#
  4. //#
  5. //#   COMPONENT_NAME: odimaging
  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.  
  29. /********************************************************************/
  30. /*  Licensed Materials - Property of IBM                            */
  31. /*                                                                  */
  32. /*                                                                  */
  33. /* Copyright (C) International Business Machines Corp., 1994.       */
  34. /* Copyright (C) Apple Computer, Inc., 1994                         */
  35. /*                                                                  */
  36. /*  US Government Users Restricted Rights -                         */
  37. /*  Use, duplication, or disclosure restricted                      */
  38. /*  by GSA ADP Schedule Contract with IBM Corp.                     */
  39. /*                                                                  */
  40. /*                                                                  */
  41. /********************************************************************/
  42. //#    Copyright:    (r) 1993-1995 by Apple Computer, Inc., all rights reserved.
  43.  
  44. #ifndef _CANVASB_
  45. #define _CANVASB_
  46.  
  47. #ifndef _ODOBJECT_
  48. #include "ODObject.idl"      
  49. #endif
  50.  
  51. //==============================================================================
  52. // Classes defined in this interface
  53. //==============================================================================
  54.  
  55. interface  ODBaseCanvas;
  56.  
  57. //==============================================================================
  58. // Classes used in this interface
  59. //==============================================================================
  60.  
  61. interface  ODPart;
  62. interface  ODFacet;
  63. interface  ODShape;
  64. interface  ODTransform;
  65.  
  66. //==============================================================================
  67. // ODCanvas
  68. //==============================================================================
  69.  
  70. interface ODBaseCanvas :  ODObject
  71. {
  72.     ODBoolean            HasPlatformCanvas( in ODGraphicsSystem g );
  73.     ODPlatformCanvas    GetPlatformCanvas( in ODGraphicsSystem g );
  74.     void                SetPlatformCanvas( in ODGraphicsSystem g, in ODPlatformCanvas c );
  75.     
  76.     ODBoolean            HasPlatformPrintJob( in ODGraphicsSystem g );
  77.     ODPlatformPrintJob    GetPlatformPrintJob( in ODGraphicsSystem g );
  78.     void                SetPlatformPrintJob( in ODGraphicsSystem g, in ODPlatformPrintJob j );
  79.     
  80.     ODPart                AcquireOwner( );
  81.     void                SetOwner( in ODPart owner);
  82.     
  83.     ODFacet                GetFacet( );
  84.     void                SetFacet( in ODFacet facet);
  85.     
  86.     ODTransform            AcquireBiasTransform( );
  87.     void                SetBiasTransform( in ODTransform x );
  88.     
  89.     ODBoolean            IsDynamic( );
  90.     ODBoolean            IsOffscreen( );
  91.     
  92.     ODShape                AcquireUpdateShape( );
  93.     void                ResetUpdateShape( );
  94.     
  95.     void                Invalidate( in ODShape shape);
  96.     void                Validate( in ODShape shape);
  97.  
  98.  
  99. #ifdef __SOMIDL__
  100.     implementation
  101.     {
  102.         override:
  103.             somUninit;
  104.         
  105.         releaseorder:
  106.             HasPlatformCanvas,
  107.             GetPlatformCanvas,
  108.             SetPlatformCanvas,
  109.             HasPlatformPrintJob,
  110.             GetPlatformPrintJob,
  111.             SetPlatformPrintJob,
  112.             AcquireOwner,
  113.             SetOwner,
  114.             GetFacet,
  115.             SetFacet,
  116.             IsDynamic,
  117.             IsOffscreen,
  118.             AcquireUpdateShape,
  119.             ResetUpdateShape,
  120.             AcquireBiasTransform,
  121.             SetBiasTransform,
  122.             Invalidate,
  123.             Validate,
  124.             reserved1,
  125.             reserved2;
  126.         
  127.         majorversion = 1; minorversion = 0;
  128.         
  129.         functionprefix = ODBaseCanvas;
  130.         
  131.     };
  132. #endif
  133. };
  134.  
  135. #endif //# _CANVASB_
  136.  
  137.  
  138.  
  139.