ID2D1SvgDocument::CreateStrokeDashArray method (d2d1svg.h)

Creates a dash array object which can be used to set the stroke-dasharray property.

Syntax

HRESULT CreateStrokeDashArray(
  [in, optional] const D2D1_SVG_LENGTH   *dashes,
                 UINT32                  dashesCount,
  [out]          ID2D1SvgStrokeDashArray **strokeDashArray
);

Parameters

[in, optional] dashes

Type: const D2D1_SVG_LENGTH*

An array of dashes.

dashesCount

Type: UINT32

Size of the array in th dashes argument.

[out] strokeDashArray

Type: ID2D1SvgStrokeDashArray**

The created ID2D1SvgStrokeDashArray.

Return value

Type: HRESULT

This method returns an HRESULT success or error code.

Requirements

Requirement Value
Target Platform Windows
Header d2d1svg.h
DLL Direct2d.dll

See also

ID2D1SvgDocument