-
Notifications
You must be signed in to change notification settings - Fork 0
f_Line
rasberry edited this page Nov 5, 2025
·
2 revisions
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
-pp (x,y) Specify a proportional point (0.1,20%)
-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
| handle | |
|---|---|
| -p 10,10 -p 20,90 -pp 0.9,0.9 | ![]() |
| -m XiaolinWu -c White -p 10,10 -pp 0.9,0.5 -pp 0.1,0.9 | ![]() |

