Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

Gets or sets access to the XFORM structure. For more information, see IInkTransform.

Syntax

[propput] HRESULT put_Data ([in] XFORM XForm);
[propget] HRESULT get_Data ([out, retval] XFORM *XForm);

Parameters

XForm

Returns or sets access to the Microsoft Win32® XFORM structure.

Return Value

HRESULT value Description

S_OK

Success.

E_POINTER

The parameter pointer was invalid.

E_INK_EXCEPTION

An exception occurred inside the method.

Remarks

The XFORM structure has the following form:

typedef struct tagXFORM {

FLOAT eM11;

FLOAT eM12;

FLOAT eM21;

FLOAT eM22;

FLOAT eDx;

FLOAT eDy;

} XFORM;

The XFORM structure specifies a world–space to page–space transformation. The eDxand eDymembers specify the horizontal and vertical translation components, respectively. The following table shows how the other members are used, depending on the operation:

Operation eM11 eM12 eM21 eM22

Rotation

Cosine of rotation angle

Sine of rotation angle

Negative sine of rotation angle

Cosine of rotation angle

Scaling

Horizontal scaling component

Nothing

Nothing

Vertical scaling component

Shear

Nothing

Horizontal proportionality constant

Vertical proportionality constant

Nothing

Reflection

Horizontal reflection component

Nothing

Nothing

Vertical

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