home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
wpentk.zip
/
WBPENTK4.DSK
/
IDOSTRK.IDL
< prev
next >
Wrap
Text File
|
1994-10-07
|
7KB
|
165 lines
#ifndef __IDOSTROKE_IDL__
#define __IDOSTROKE_IDL__
#include <idocomm.idl>
#include <somcls.idl>
interface IDOStroke;
interface IDOInker;
interface IDOInkAttr;
interface IDOMStroke: SOMClass
{
exception IDO_PROB { ULONG ulErrorCode; };
IDOStroke idoclsCreateStroke ( in PSTROKEDATA pStrokeBuf,
in PULONG pulBufLen,
in HWND hwnd,
in ULONG flAuxData ) raises (IDO_PROB);
#ifdef __SOMIDL__
implementation
{
/* Release Order */
releaseorder: idoclsCreateStroke;
functionprefix = IDOMStroke;
filestem = idostrk;
callstyle = idl;
majorversion = 0;
minorversion = 0;
passthru C_ih =
"#include <idocomm.h>"
"#include <idoinker.h>"
"#include <idoinkat.h>"
;
passthru C_h = "#include <memory.h>"
"#include <idoinker.h>"
//# Removed for now. See C_ih section, above **RA**
//# "#include <idoinkat.h>"
;
};
#endif
};
interface IDOStroke : IDOCommon
{
exception IDO_PROB { ULONG ulErrorCode; };
BOOL idoIsTap ( ) raises (IDO_PROB);
void idoScale ( in ULONG ulScaleX,
in ULONG ulScaleY ) raises (IDO_PROB);
void idoSetStrokeType ( in ULONG ulStrokeType ) raises (IDO_PROB);
ULONG idoGetStrokeType ( ) raises (IDO_PROB);
void idoSetStrokeData ( in PSTROKEDATA pStrokeBuf,
in PULONG pulBufLen,
in HWND hwnd,
in ULONG flAuxData ) raises (IDO_PROB);
void idoGetStrokeData ( in PSTROKEDATA pStrokeBuf,
in PULONG pulBufLen,
in HWND hwnd,
in ULONG flAuxData ) raises (IDO_PROB);
ULONG idoGetSource ( ) raises (IDO_PROB);
ULONG idoGetSeq ( ) raises (IDO_PROB);
ULONG idoGetResolution ( ) raises (IDO_PROB);
ULONG idoGetSampleRate ( ) raises (IDO_PROB);
ULONG idoGetNumPoints ( ) raises (IDO_PROB);
ULONG idoGetStrokeFlags ( ) raises (IDO_PROB);
ULONG idoGetXExtent ( ) raises (IDO_PROB);
ULONG idoGetYExtent ( ) raises (IDO_PROB);
ULONG idoGetSensorResolution ( ) raises (IDO_PROB);
ULONG idoGetSensorXExtent ( ) raises (IDO_PROB);
ULONG idoGetSensorYExtent ( ) raises (IDO_PROB);
ULONG idoGetTimestamp ( ) raises (IDO_PROB);
ULONG idoGetDevTimestampRes ( ) raises (IDO_PROB);
void idoSetInkColor ( in ULONG ulColor ) raises (IDO_PROB);
ULONG idoGetInkColor ( ) raises (IDO_PROB);
void idoSetInkWidth ( in ULONG ulWidth ) raises (IDO_PROB);
ULONG idoGetInkWidth ( ) raises (IDO_PROB);
void idoSetInkMix ( in ULONG ulMix ) raises (IDO_PROB);
ULONG idoGetInkMix ( ) raises (IDO_PROB);
void idoSetInkLineType ( in ULONG ulLineStyle ) raises (IDO_PROB);
ULONG idoGetInkLineType ( ) raises (IDO_PROB);
void idoGetScaledData ( in PSTROKEDATA pStrokeBuf,
in PULONG pulBufLen,
in HWND hwnd,
in ULONG flAuxData ) raises (IDO_PROB);
void idoGetScaledPoints ( in PULONG pulNumPoints,
in PPOINTL pPoints,
in PULONG pulBufLen ) raises (IDO_PROB);
#ifdef __SOMIDL__
implementation
{
/* Release Order */
releaseorder: idoSetStrokeData,
idoIncRefCount,
idoGetPrivatePointer,
idoDecRefCount,
idoSetSeq,
idoIsTap,
idoScale,
idoSetStrokeType,
idoGetStrokeType,
idoGetSource,
idoGetSeq,
idoGetResolution,
idoGetSampleRate,
idoGetNumPoints,
idoGetStrokeFlags,
idoGetXExtent,
idoGetYExtent,
idoGetSensorResolution,
idoGetSensorXExtent,
idoGetSensorYExtent,
idoGetTimestamp,
idoGetDevTimestampRes,
idoGetAuxPointInfo,
idoGetAuxPointData,
idoSetInkColor,
idoGetInkColor,
idoSetInkWidth,
idoGetInkWidth,
idoSetInkMix,
idoGetInkMix,
idoSetInkLineType,
idoGetInkLineType,
idoGetStrokeData,
idoGetScaledData,
idoGetScaledPoints
;
/* Metaclass Definition */
metaclass = IDOMStroke;
functionprefix = IDOStroke;
filestem = idostrk;
callstyle = idl;
majorversion = 0;
minorversion = 0;
passthru C_ih = "";
passthru C_h = "#define IDO_STROKE_NORMAL 0x0000"
"#define IDO_STROKE_ERASER 0x0001"
;
somUninit : override;
somFree : override;
idoDraw : override;
idoInkerDraw : override;
idoGetBoundingBox : override;
idoSetInkAttr : override;
idoGetInkAttr : override;
idoSetOffset : override;
idoGetOffset : override;
idoSetInkerData : override;
idoGetInkerData : override;
};
#endif
};
#endif