IInkTransform::GetTransform method (msinkaut.h)

Gets the InkTransform member data.

Syntax

HRESULT GetTransform(
  [out] float *eM11,
  [out] float *eM12,
  [out] float *eM21,
  [out] float *eM22,
  [out] float *eDx,
  [out] float *eDy
);

Parameters

[out] eM11

The real number that specifies the element in the first row, first column.

[out] eM12

The real number that specifies the element in the first row, second column.

[out] eM21

The real number that specifies the element in the second row, first column.

[out] eM22

The real number that specifies the element in the second row, second column.

[out] eDx

The real number that specifies the element in the third row, first column.

[out] eDy

The real number that specifies 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.
E_POINTER
A parameter contained an invalid pointer.

Remarks

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

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

SetTransform Method