DrawWuLine Method
Draws an anti-aliased, alpha blended, colored line by connecting two points using Wu's antialiasing algorithm
Uses the pixels array and the width directly for best performance.
Syntax
Parameters
- context
- An array containing the pixels as int RGBA value.
- pixelWidth
- The width of one scanline in the pixels array.
- pixelHeight
- The height of the bitmap.
- X0
- The x0.
- Y0
- The y0.
- X1
- The x1.
- Y1
- The y1.
- sa
- Alpha color component
- sr
- Premultiplied red color component
- sg
- Premultiplied green color component
- sb
- Premultiplied blue color component
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