ID2D1Ink::StreamAsGeometry(ID2D1InkStyle,constD2D1_MATRIX_3X2_F,ID2D1SimplifiedGeometrySink) method (d2d1_3.h)

Retrieves a geometric representation of this ink object.

Syntax

HRESULT StreamAsGeometry(
  ID2D1InkStyle               *inkStyle,
  const D2D1_MATRIX_3X2_F     *worldTransform,
  ID2D1SimplifiedGeometrySink *geometrySink
);

Parameters

inkStyle

Type: ID2D1InkStyle*

The ink style to be used in determining the geometric representation.

worldTransform

Type: const D2D1_MATRIX_3X2_F*

The world transform to be used in determining the geometric representation.

geometrySink

Type: ID2D1SimplifiedGeometrySink*

The geometry sink to which the geometry representation will be streamed.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

   
Target Platform Windows
Header d2d1_3.h
Library D2d1_3.lib
DLL D2d1_3.dll

See also

ID2D1Ink