/* Copyright (C) 2007 C John Klehm
*
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/*
* Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
* other than GPL or LGPL is available it will apply instead, Oracle elects to use only
* the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
* a choice of LGPL license versions is made available with the language indicating
* that LGPLv2 or any later version may be used, or where a choice of which version
* of the LGPL is applied is otherwise unspecified.
*/
import "oaidl.idl";
import "ocidl.idl";
[
version(1.0)
]
{
importlib("stdole2.tlb");
typedef enum InkBoundingBoxMode {
IBBM_Default = 0,
IBBM_NoCurveFit = 1,
IBBM_CurveFit = 2,
IBBM_PointsOnly = 3,
IBBM_Union = 4
typedef enum InkExtractFlags {
IEF_CopyFromOriginal = 0x0,
IEF_RemoveFromOriginal = 0x1,
typedef enum InkPersistenceFormat {
IPF_GIF = 2,
IPF_Base64GIF = 3
{
IPCM_Default = 0,
IPT_Ball = 0,
IPT_Rectangle = 1
} InkPenTip;
typedef enum InkRasterOperation {
IRO_Black = 1,
typedef enum InkClipboardModes {
ICB_Copy = 0,
ICB_Cut = 0x1,
ICB_DelayedCopy = 0x20,
ICB_ExtractOnly = 0x30,
typedef enum InkClipboardFormats {
ICF_None = 0,
ICF_InkSerializedFormat = 0x1,
ICF_SketchInk = 0x2,
ICF_TextInk = 0x6,
ICF_EnhancedMetafile = 0x8,
ICF_Metafile = 0x20,
ICF_Bitmap = 0x40,
ICF_PasteMask = 0x7,
ICF_CopyMask = 0x7f,
{
IRC_Strong = 0,
IRC_Intermediate = 1,
IRC_Poor = 2
[
odl,
dual,
]
interface IInkExtendedProperty : IDispatch {
};
[
odl,
dual,
]
interface IInkExtendedProperties : IDispatch {
};
[
odl,
dual,
]
interface IInkDrawingAttributes : IDispatch {
[in] long CurrentTransparency);
};
cpp_quote("#ifndef _WINGDI_")
/* already defined in wingdi.h but needed for WIDL */
} XFORM;
cpp_quote("#endif /* _WINGDI_ */")
[
odl,
dual,
]
interface IInkTransform : IDispatch {
};
interface IInkDisp;
[
odl,
dual,
]
interface IInkRectangle
{
};
interface IInkStrokes;
typedef enum {
[
odl,
dual,
]
interface IInkStrokeDisp : IDispatch {
[in] long x,
[in] long y,
[in] long x,
[in] long y,
};
interface IInkRecognitionResult;
[
odl,
dual,
]
interface IInkStrokes : IDispatch {
[in] float HorizontalComponent,
[in] float VerticalComponent);
[in] float x,
[in] float y);
[in] float HorizontalMultiplier,
[in] float VerticalMultiplier);
[in] float HorizontalMultiplier,
[in] float VerticalMultiplier);
};
[
odl,
dual,
]
interface IInkCustomStrokes : IDispatch {
};
interface IInkRecognitionAlternate;
interface IInkRecognitionAlternates;
[
odl,
dual,
]
interface IInkRecognitionResult : IDispatch {
[in] long selectionStart,
[in] long selectionLength,
[in] long maximumAlternates,
};
[
odl,
dual,
]
interface IInkRecognitionAlternate : IDispatch {
};
[
odl,
dual,
]
interface IInkRecognitionAlternates : IDispatch {
};
[
odl,
dual,
]
[in] long X,
[in] long Y,
[in] float IntersectPercent,
[in] float IntersectPercent,
[in] long X,
[in] long Y,
[in] long x,
[in] long y,
};
[
odl,
dual,
]
interface IInkRenderer : IDispatch {
[in] long hdcDisplay,
};
typedef enum {
typedef enum {
IMP_Custom = 99
typedef enum {
THWC_Integrated = 1,
THWC_CursorMustTouch = 2,
THWC_HardProximity = 4,
[
odl,
dual,
]
interface IInkTablet : IDispatch {
};
typedef enum {
[
odl,
dual,
]
interface IInkCursorButton : IDispatch {
};
[
odl,
dual,
]
interface IInkCursorButtons : IDispatch {
};
[
odl,
dual,
]
interface IInkCursor : IDispatch {
};
[
odl,
dual,
]
interface IInkCursors : IDispatch {
};
typedef enum {
IAG_AllGestures = 0,
IAG_NoGesture = 61440,
IAG_Scratchout = 61441,
IAG_Triangle = 61442,
IAG_Square = 61443,
IAG_Star = 61444,
IAG_Check = 61445,
IAG_Curlicue = 61456,
IAG_DoubleCurlicue = 61457,
IAG_Circle = 61472,
IAG_DoubleCircle = 61473,
IAG_SemiCircleLeft = 61480,
IAG_SemiCircleRight = 61481,
IAG_ChevronUp = 61488,
IAG_ChevronDown = 61489,
IAG_ChevronLeft = 61490,
IAG_ChevronRight = 61491,
IAG_ArrowUp = 61496,
IAG_ArrowDown = 61497,
IAG_ArrowLeft = 61498,
IAG_ArrowRight = 61499,
IAG_Up = 61528,
IAG_Down = 61529,
IAG_Left = 61530,
IAG_Right = 61531,
IAG_UpDown = 61536,
IAG_DownUp = 61537,
IAG_LeftRight = 61538,
IAG_RightLeft = 61539,
IAG_UpLeftLong = 61540,
IAG_UpRightLong = 61541,
IAG_DownLeftLong = 61542,
IAG_DownRightLong = 61543,
IAG_UpLeft = 61544,
IAG_UpRight = 61545,
IAG_DownLeft = 61546,
IAG_DownRight = 61547,
IAG_LeftUp = 61548,
IAG_LeftDown = 61549,
IAG_RightUp = 61550,
IAG_RightDown = 61551,
IAG_Exclamation = 61604,
IAG_Tap = 61680,
IAG_DoubleTap = 61681
typedef enum {
ICEI_DefaultEvents = -1,
ICEI_CursorDown = 0,
[
odl,
dual,
]
interface IInkCollector : IDispatch {
};
};