4/8/2010
Changes the amount of rotation, measured in degrees, to change the rotation factor of the IInkTransform object. Optionally, also changes the center point of the rotation.
Syntax
HRESULT Rotate (
[in] float Degrees,
[in, optional, defaultvalue(0)] float x,
[in, optional, defaultvalue(0)] float y
);
Parameters
- 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.
- x
The x–coordinate of the point in ink space coordinates around which rotation occurs. This defaults to the origin (the upper left corener of the ink collection area).
- y
The y–coordinate of the point in ink space coordinates around which rotation occurs. This defaults to the origin (the upper left corener of the ink collection area).
Return Value
| HRESULT value | Description |
|---|---|
S_OK |
Success. |
E_INK_EXCEPTION |
An exception occurred inside the method. |
Remarks
The center point defaults to the origin.
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 |