Share via


IInkTransform::GetTransform

4/8/2010

Gets the IInkTransform member data.

Syntax

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

Parameters

  • eM11
    [out] Gets the real number that specifies the element in the first row, first column.
  • eM12
    [out] Gets the real number that specifies the element in the first row, second column.
  • eM21
    [out] Gets the real number that specifies the element in the second row, first column.
  • eM22
    [out] Gets the real number that specifies the element in the second row, second column.
  • eDx
    [out] Gets the real number that specifies the element in the third row, first column.
  • eDy
    [out] Gets the real number that specifies the element in the third row, second column.

Return Value

HRESULT value Description

S_OK

Success.

E_INK_EXCEPTION

An exception occurred inside the method.

E_POINTER

A parameter contained an invalid pointer.

Remarks

An IInkTransform 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).

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

See Also

Concepts

Windows Mobile Ink Reference