IInkRenderer::Rotate method (msinkaut.h)

Applies a rotation to a InkRenderer's view transform.

Syntax

HRESULT Rotate(
  [in]           float Degrees,
  [in, optional] float x,
  [in, optional] float y
);

Parameters

[in] Degrees

The degrees by which to rotate clockwise.

[in, optional] x

Optional. The x-coordinate of the point in ink space coordinates around which to rotate. The default is zero.

[in, optional] y

Optional. The y-coordinate of the point in ink space coordinates around which to rotate. The default is zero.

Return value

This method can return one of these values.

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

Remarks

If no point is specified, the rotation is centered around the origin.

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

See also

IInkRenderer

InkRenderer Class