Share via


IInkStrokeDisp::ScaleTransform

4/8/2010

Applies the specified horizontal and vertical factors to an IInkStrokeDisp.

Syntax

HRESULT ScaleTransform(
  [in] float HorizontalMultiplier,
  [in] float VerticalMultiplier

Parameters

  • HorizontalMultiplier
    [in] The factor to scale the horizontal dimension in the transform.
  • VerticalMultiplier
    [in] The factor to scale the vertical dimension in the transform.

Return Value

  • S_OK
    Success.
  • E_INK_EXCEPTION
    An exception occurred inside the method.

Remarks

This method scales the points in the stroke relative to the origin. Thus, if the HorizontalMultiplier parameter is 2.0, the stroke will be twice as wide, and will also be twice as far, horizontally, from the origin. To control the relative position of the stroke, use this method in conjunction with the IInkStrokeDisp::Move 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