Skip to content

Latest commit

 

History

History
109 lines (90 loc) · 3.02 KB

nf-msinkaut-iinkstrokedisp-shear.md

File metadata and controls

109 lines (90 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.IInkStrokeDisp.Shear
IInkStrokeDisp::Shear (msinkaut.h)
Shears the ink in the stroke or strokes by the specified horizontal and vertical factors. (IInkStrokeDisp.Shear)
887dd883-1a24-4a78-8f08-f4cd45bf4840
IInkStrokeDisp interface [Tablet PC]
Shear method
IInkStrokeDisp.Shear
IInkStrokeDisp::Shear
Shear
Shear method [Tablet PC]
Shear method [Tablet PC]
IInkStrokeDisp interface
msinkaut/IInkStrokeDisp::Shear
tablet.iinkstrokedisp_shear
tablet\iinkstrokedisp_shear.htm
tablet
887dd883-1a24-4a78-8f08-f4cd45bf4840
12/05/2018
887dd883-1a24-4a78-8f08-f4cd45bf4840, IInkStrokeDisp interface [Tablet PC],Shear method, IInkStrokeDisp.Shear, IInkStrokeDisp::Shear, Shear, Shear method [Tablet PC], Shear method [Tablet PC],IInkStrokeDisp interface, msinkaut/IInkStrokeDisp::Shear, tablet.iinkstrokedisp_shear
msinkaut.h
Windows
Windows XP Tablet PC Edition [desktop apps only]
None supported
InkObj.dll
Windows
19H1
IInkStrokeDisp::Shear
msinkaut/IInkStrokeDisp::Shear
c++
APIRef
kbSyntax
COM
InkObj.dll
InkObj.dll.dll
IInkStrokeDisp.Shear

IInkStrokeDisp::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

IInkStrokeDisp Interface