DrawLine Method (RenderContextBase)
Draws a single line on the IRenderSurface2D using the specified IPen2D. Note for a faster implementation in some rasterizers, use DrawLines
Syntax
Parameters
- pen
- The pen
- pt1
- The start of the line in pixels
- pt2
- The end of the line in pixels
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also