IInkTransform::SetTransform method (msinkaut.h)

Modifies the InkTransform member data.

An InkTransform object represents a 3×3 matrix that, in turn, represents an affine transformation. The object stores only six of the nine numbers in a 3×3 matrix because all 3×3 matrices that represent affine transformations have the same third column (0, 0, 1).

Syntax

HRESULT SetTransform(
  [in] float eM11,
  [in] float eM12,
  [in] float eM21,
  [in] float eM22,
  [in] float eDx,
  [in] float eDy
);

Parameters

[in] eM11

The element in the first row, first column.

[in] eM12

The element in the first row, second column.

[in] eM21

The element in the second row, first column.

[in] eM22

The element in the second row, second column.

[in] eDx

The element in the third row, first column.

[in] eDy

The element in the third row, second column.

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.

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

GetTransform Method

IInkTransform

InkTransform Class