IInkRenderer::GetViewTransform
4/8/2010
Gets the IInkTransform object that represents the IInkRenderer's view transform.
Syntax
HRESULT GetViewTransform(
[in] IInkTransform *viewTransform
);
Parameters
- viewTransform
Gets 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
HRESULT value | Description |
---|---|
S_OK |
Success. |
E_POINTER |
A parameter contained an invalid pointer. |
E_INK_EXCEPTION |
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.
To set the view transform, use IInkRenderer::SetViewTransform.
View transformation occurs after object transformation. For more information, see IInkRenderer::GetObjectTransform.
Requirements
Header | msinkaut.h |
Windows Embedded CE | Windows CE 5.0 and later |
Windows Mobile | Windows Mobile 6 Classic and later, Windows Mobile 6 Professional and later |