/* @(#)Z 1.6 com/src/imaging/idl/Shape.idl, odimaging, od96nt, odnt9712d 97/03/21 16:44:38 (96/10/29 09:25:57) */

/********************************************************************/
/*  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 _SHAPE_
#define _SHAPE_

#ifndef _SHAPEB_
#include "ShapeB.idl"      
#endif

//==============================================================================
// Classes defined in this interface
//==============================================================================

interface ODShape;

//==============================================================================
// ODShape
//==============================================================================

interface ODShape :  ODBaseShape
{
  void    InitShape();

#ifdef _PLATFORM_MACINTOSH_

  ODRgnHandle  GetQDRegion();

  void    SetQDRegion(in ODRgnHandle rgn );

  ODgxShape  GetGXShape( );

  void    SetGXShape(in ODgxShape s);

  ODRgnHandle  CopyQDRegion();

#endif  // _PLATFORM_MACINTOSH_

#if defined( _PLATFORM_OS2_ ) || defined(_PLATFORM_WIN32_) || defined(_PLATFORM_AIX_)

  ODRgnHandle  GetRegion();

  void    SetRegion(in ODRgnHandle rgn );

  ODRgnHandle  CopyRegion();

#endif // IBM Platforms 

#ifdef __SOMIDL__
  implementation
  {
#ifdef _PLATFORM_MACINTOSH_ // CED 
    releaseorder:
      InitShape,
      GetQDRegion,
      SetQDRegion,
      GetGXShape,
      SetGXShape,
      CopyQDRegion;

#endif  // _PLATFORM_MACINTOSH_

#if defined( _PLATFORM_OS2_ ) || defined(_PLATFORM_WIN32_) || defined(_PLATFORM_AIX_)
    releaseorder:
      InitShape,
      GetRegion,
      SetRegion,
      CopyRegion;

#endif // IBM Platforms 

    majorversion = 1; minorversion = 0;

    functionprefix = ODShape;
  };
#endif
};

#endif 

