home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
odtlktv4.zip
/
ODTLKT
/
TOOLKIT
/
IDL
/
TRNSFORM.IDL
< prev
next >
Wrap
Text File
|
1995-12-13
|
3KB
|
109 lines
/********************************************************************/
/* 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 _TRNSFORM_
#define _TRNSFORM_
#ifndef _TRNSFRMB_
#include "TrnsfrmB.idl"
#endif
//==============================================================================
// Constants & types defined in this interface
//==============================================================================
#ifdef _PLATFORM_OS2_
struct OS2MATRIXLF {
long fxM11;
long fxM12;
long lM13;
long fxM21;
long fxM22;
long lM23;
long lM31;
long lM32;
long lM33;
};
typedef OS2MATRIXLF MATRIXLF;
#endif // _PLATFORM_OS2_
//==============================================================================
// Classes defined in this interface
//==============================================================================
interface ODTransform;
//==============================================================================
// Classes used by this interface
//==============================================================================
interface ODShape;
interface ODStorageUnit;
//==============================================================================
// ODTransform
//==============================================================================
#if defined(_PLATFORM_MACINTOSH_) || defined(_PLATFORM_OS2_)
interface ODTransform : ODBaseTransform
{
void InitTransform();
#ifdef _PLATFORM_OS2_
void GetMATRIXLF(out MATRIXLF mtx);
void SetMATRIXLF(in MATRIXLF mtx);
void TransformPoints(in ODByteArray points, in ODULong npoints);
#else
ODBoolean IsQDOffset();
Point GetQDOffset();
ODTransform SetQDOffset(in Point point);
#endif // ! _PLATFORM_OS2_
#ifdef __SOMIDL__
implementation
{
releaseorder:
InitTransform,
#ifndef _PLATFORM_OS2_
IsQDOffset,
GetQDOffset,
SetQDOffset;
#else
GetMATRIXLF,
SetMATRIXLF,
reserved,
TransformPoints;
#endif // ! _PLATFORM_OS2_
majorversion = 1; minorversion = 0;
functionprefix = ODTransform__;
};
#endif
};
#endif // _PLATFORM_MACINTOSH_ || _PLATFORM_OS2_
#endif // _TRNSFORM_