-
Notifications
You must be signed in to change notification settings - Fork 0
f_Line
rasberry edited this page Jan 28, 2025
·
1 revision
Draws a line or sequence of lines
-m (LineKind) Method used to draw the line
-p (x,y) Specify a point. Can be specified multiple times
-c (color) Color for the line (default black)
Available methods:
0. RunLengthSlice Run-length slice algorithm
1. Bresenham Bresenham line algorithm
2. DDA Digital Differential Analyzer method
3. XiaolinWu Xiaolin Wu Anti-Aliased line algorithm
4. WuBlackBook Wu's algorithm from Graphics Programming Black Book