Skip to content

Latest commit

 

History

History
113 lines (91 loc) · 3.02 KB

nf-msinkaut-iinkstrokes-shear.md

File metadata and controls

113 lines (91 loc) · 3.02 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:msinkaut.IInkStrokes.Shear
IInkStrokes::Shear (msinkaut.h)
Shears the ink in the stroke or strokes by the specified horizontal and vertical factors. (IInkStrokes.Shear)
887dd883-1a24-4a78-8f08-f4cd45bf4840
IInkStrokes interface [Tablet PC]
Shear method
IInkStrokes.Shear
IInkStrokes::Shear
Shear
Shear method [Tablet PC]
Shear method [Tablet PC]
IInkStrokes interface
msinkaut/IInkStrokes::Shear
tablet.inkstrokes_shear
tablet\inkstrokes_shear.htm
tablet
2ae8cf5a-b113-46e8-b8c2-6605f017f826
12/05/2018
887dd883-1a24-4a78-8f08-f4cd45bf4840, IInkStrokes interface [Tablet PC],Shear method, IInkStrokes.Shear, IInkStrokes::Shear, Shear, Shear method [Tablet PC], Shear method [Tablet PC],IInkStrokes interface, msinkaut/IInkStrokes::Shear, tablet.inkstrokes_shear
msinkaut.h
Windows
Windows XP Tablet PC Edition [desktop apps only]
None supported
InkObj.dll
Windows
19H1
IInkStrokes::Shear
msinkaut/IInkStrokes::Shear
c++
APIRef
kbSyntax
COM
InkObj.dll
InkObj.dll.dll
IInkStrokes.Shear

IInkStrokes::Shear

-description

Shears the ink in the stroke or strokes by the specified horizontal and vertical factors.

-parameters

-param HorizontalMultiplier [in]

The horizontal factor of the shear.

-param VerticalMultiplier [in]

The vertical factor of the shear.

-returns

This method can return one of these values.

Return code Description
S_OK
Success.
E_INK_EXCEPTION
An exception occurred inside the method.

-remarks

The transformation applied in this method is a pure shear only if one of the parameters is 0. Applied to a rectangle at the origin, when the shearY factor is 0, the transformation moves the bottom edge horizontally by shearX times the height of the rectangle. When the shearX factor is 0, it moves the right edge vertically by shearY times the width of the rectangle.

Note  When both parameters are nonzero, the results may not be intuitive.
 
This method throws an exception if the shear is non-invertible. The shear is non-invertible if the product of the shearX and shearY parameters equals 1.

-see-also

IInkStrokes

InkStrokes Collection