Share via


IInkTransform::SetTransform

4/8/2010

Sets the IInkTransform member data.

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

Syntax

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

Parameters

  • eM11
    The element in the first row, first column.
  • eM12
    The element in the first row, second column.
  • eM21
    The element in the second row, first column.
  • eM22
    The element in the second row, second column.
  • eDx
    The element in the third row, first column.
  • eDy
    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.

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