home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
opendc12.zip
/
od124os2.exe
/
od12otk1.exe
/
include
/
Canvas.idl
< prev
next >
Wrap
Text File
|
1997-04-02
|
5KB
|
151 lines
/* @(#)Z 1.7 com/src/imaging/idl/Canvas.idl, odimaging, od96os2, odos29712d 97/03/21 17:18:20 (96/10/29 09:25:44) */
//#====START_GENERATED_PROLOG======================================
//#
//#
//# COMPONENT_NAME: odimaging
//#
//# CLASSES: none
//#
//# ORIGINS: 82,27
//#
//#
//# (C) COPYRIGHT International Business Machines Corp. 1995,1996
//# All Rights Reserved
//# Licensed Materials - Property of IBM
//# US Government Users Restricted Rights - Use, duplication or
//# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
//#
//# IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
//# ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
//# PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR
//# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
//# USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
//# OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
//# OR PERFORMANCE OF THIS SOFTWARE.
//#
//#====END_GENERATED_PROLOG========================================
//#
/********************************************************************/
/* 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. */
/* */
/* */
/********************************************************************/
//# Copyright: (r) 1993 - 1995 by Apple Computer, Inc., all rights reserved.
#ifndef _CANVAS_
#define _CANVAS_
#ifndef _CANVASB_
#include "CanvasB.idl" // base class
#endif
#if defined( _PLATFORM_OS2_ ) || defined(_PLATFORM_WIN32_) || defined(_PLATFORM_AIX_)
#ifndef _PLATCANV_
#include "PlatCanv.idl"
#endif
#endif // IBM Platforms
//==============================================================================
// Mac OS types used in this interface
//==============================================================================
/*
#pragma somemittypes off
*/
typedef unsigned long GrafPtr; //# C definition is in <QuickDraw.h>
/*
#pragma somemittypes on
*/
//==============================================================================
// Classes defined in this interface
//==============================================================================
interface ODCanvas;
//==============================================================================
// ODCanvas
//==============================================================================
interface ODCanvas : ODBaseCanvas
{
//*********************
// MACINTOSH SPECIFIC
//*********************
#ifdef _PLATFORM_MACINTOSH_
GrafPtr GetQDPort( );
ODPlatformCanvas GetGXViewport( ); // Really a gxViewport; see <graphics types.h>
#endif // _PLATFORM_MACINTOSH_
//*********************
// IBM CROSS PLATFORM SOLUTION
//*********************
#if defined( _PLATFORM_OS2_ ) || defined(_PLATFORM_WIN32_) || defined(_PLATFORM_AIX_)
ODPlatformCanvas CreatePlatformCanvas( in ODGraphicsSystem aSystemType,
in ODBoolean isDynamic,
in ODBoolean isOffScreen );
#endif // IBM Platforms
#ifdef __SOMIDL__
implementation
{
majorversion = 1; minorversion = 0;
releaseorder:
#ifdef _PLATFORM_MACINTOSH_
GetQDPort,
GetGXViewport,
reserved1;
override:
HasPlatformCanvas,
GetPlatformCanvas,
SetPlatformCanvas,
Invalidate,
Validate;
#endif // _PLATFORM_MACINTOSH_
#if defined( _PLATFORM_OS2_ ) || defined(_PLATFORM_WIN32_) || defined(_PLATFORM_AIX_)
reserved1,
CreatePlatformCanvas;
override:
HasPlatformCanvas,
GetPlatformCanvas,
SetPlatformCanvas;
#endif // IBM Platforms
functionprefix = ODCanvas;
};
#endif
};
#endif // _CANVAS_