svgbob
svgbob copied to clipboard
Syntax for an arc
trafficstars
Would it be possible to extend the syntax to draw an arc?
+
/ \ "This would draw a sharp corner"
/ v
.
/ \ "This would dar an arc (a dot at the point where edges meet)"
/ v
.-.
/ \ "This is the current way to draw something like an arc"
/ v
I think this behavior is better, so I don't have to put a special behavior when the dot is surrounded by the slanted lines
\ /
.
/ \
It it was configured to do arcs, then this scenario would be a mesh.
But at least in version 0.6.2 it's not a mesh.
\ / \ / \ / \ / \ / \ / \ /
. + ' , ` - _
/ \ / \ / \ / \ / \ / \ / \
"." "+" "'" "," "`" "-" "_"
\ / \ / \ /
o O *
/ \ / \ / \
"o" "O" "*"
These are the test cases for the perpendicular case:
| | | | | | |
| | | | | | |
----.---- ----+---- ----'---- ----,---- ----`---- --------- ----_----
| | | | | | |
| | | | | | |
"." "+" "'" "," "`" "-" "_"
| | |
| | |
----o---- ----O---- ----*----
| | |
| | |
"o" "O" "*"