Partager via


IInkRenderer::InkSpaceToPixelFromPoints

4/8/2010

Converts an array of points in ink space coordinates to an array of points in pixel space for the IInkRenderer object.

Syntax

void InkSpaceToPixelFromPoints (
  [in] long hdcDisplay,
  [in,out] VARIANT *points
);

Parameters

  • hdcDisplay
    The handle of the device context on which to draw.
  • points
    The array of points in ink space coordinates to convert into pixel locations. This should be an array of 32-bit integer values, passed within a VARIANT.

    For more information about the VARIANT structure, see Using the Automation Library with Windows Mobile Ink.

Return Value

HRESULT value Description

S_OK

Success.

E_POINTER

A parameter contained an invalid pointer.

E_INVALIDARG

Invalid display handle.

E_INK_EXCEPTION

An exception occurred inside the method.

Remarks

InkSpaceToPixelFromPoints applies the object transform, applies the view transform of the IInkRenderer object, and then converts from inkspace to pixel units (1 ink unit = .01mm).

The following methods are closely related:

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