IInkTransform::Rotate method (msinkaut.h)

Changes the amount, measured in degrees, to change the rotation factor of the InkTransform object and optionally the center point of the rotation.

Syntax

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

Parameters

[in] Degrees

The degrees by which to rotate clockwise. Without the optional x and y arguments, rotation takes place around the origin point, which by default is the upper left corner of the ink collection area to which the transform is applied.

[in, optional] x

Optional. The x-coordinate of the point in ink space coordinates around which rotation occurs. The default value is 0.

[in, optional] y

Optional. The y-coordinate of the point in ink space coordinates around which rotation occurs. The default value is 0.

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

The center point defaults to 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

IInkTransform

InkTransform Class