IInkRenderer::GetViewTransform method (msinkaut.h)
Gets the InkTransform object that represents the view transform that is used to render ink.
Syntax
HRESULT GetViewTransform(
[in] IInkTransform *ViewTransform
);
Parameters
[in] ViewTransform
The matrix that represents the geometric transformation - rotation, scaling, shear, and reflection - values to use to transform the stroke coordinates within the ink space. The transformation applies to both the points and pen width. View transformation occurs after object transformation.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
A parameter contained an invalid pointer. |
|
An exception occurred inside the method. |
Remarks
Any translations applied to this transform should be in ink space units (1 unit = .01mm).
Adjusting the view transform is analogous to adjusting the zoom factor on the ink rendering.
View transformation occurs after object transformation.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP Tablet PC Edition [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | msinkaut.h |
Library | InkObj.dll |