XMConvertFloatToHalfStream
XMConvertHalfToFloatStream
XMMatrixDecompose
XMPlaneTransformStream
XMVector2TransformCoordStream
XMVector2TransformNormalStream
XMVector2TransformStream
XMVector3ProjectStream
XMVector3TransformCoordStream
XMVector3TransformNormalStream
XMVector3TransformStream
XMVector3UnprojectStream
XMVector4TransformStream
Expand Minimize

StrokeStyleProperties1 function

Returns a filled D2D1_STROKE_STYLE_PROPERTIES1 structure.

Syntax


D2D1_STROKE_STYLE_PROPERTIES1 StrokeStyleProperties1(
  D2D1_CAP_STYLE startCap = D2D1_CAP_STYLE_FLAT,
  D2D1_CAP_STYLE endCap = D2D1_CAP_STYLE_FLAT,
  D2D1_CAP_STYLE dashCap = D2D1_CAP_STYLE_FLAT,
  D2D1_LINE_JOIN lineJoin = D2D1_LINE_JOIN_MITER,
  FLOAT miterLimit = 10.0f,
  D2D1_DASH_STYLE dashStyle = D2D1_DASH_STYLE_SOLID,
  FLOAT dashOffset = 0.0f,
  D2D1_STROKE_TRANSFORM_TYPE transformType = D2D1_STROKE_TRANSFORM_TYPE_NORMAL
);

Parameters

startCap

The cap to use at the start of each open figure.

endCap

The cap to use at the end of each open figure.

dashCap

The cap to use at the start and end of each dash.

lineJoin

The line join to use.

miterLimit

The limit beyond which miters are either clamped or converted to bevels.

dashStyle

The type of dash to use.

dashOffset

The location of the first dash, relative to the start of the figure.

transformType

The rule that determines what render target properties affect the nib of the stroke.

Return value

Describes the stroke that outlines a shape.

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1_1helper.h

Library

D2d1.lib

DLL

D2d1.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft