Share via


Stroke Style Example

This topic contains the following sections.

  • Line Join Style
  • Requirements
  • View the Example Files

Line Join Style

D2D1_LINE_JOIN_MITER, D2D1_LINE_JOIN_BEVEL, D2D1_LINE_JOIN_ROUND, or D2D1_LINE_JOIN_MITER_OR_BEVEL are the possible values for D2D1_LINE_JOIN. A miter limit affects how sharp miter joins can be. If the line join style is D2D1_LINE_JOIN_MITER_OR_BEVEL, then the join will be mitered with regular angular vertices if it does not extend beyond the miter limit; otherwise, the line join will be beveled. The following illustrations show the different kinds of line join styles.

Illustration of line join styles (miter line join, round line join, bevel line join, and miter or bevel line join)

Requirements

Minimum supported client Windows 7 or Windows Vista with Service Pack 2 (SP2) and Platform Update for Windows Vista
Minimum supported server Windows Server 2008 R2 or Windows Server 2008 with Service Pack 2 (SP2) and Platform Update for Windows Server 2008
Windows SDK Windows Software Development Kit (SDK) for Windows 7

 

View the Example Files

File
StrokeStyleExample.vcproj
DemoApp.h
DemoApp.cpp
DeclareDPIAware.manifest

 

 

 

Send comments about this topic to Microsoft

Build date: 1/22/2012