asciiflow icon indicating copy to clipboard operation
asciiflow copied to clipboard

Vertical/Horizontal Flip and 90 deg Rotation

Open adishavit opened this issue 4 years ago • 3 comments
trafficstars

It would be nice to be able to flip a selected area vertically of horizontally (but keep text in tact).

90-degree rotation support would be even cooler!
This would change '|' to '-' and vice versa.

adishavit avatar Jan 04 '21 13:01 adishavit

What happens to the text inside? Also, what's the use case here?

Qix- avatar Jan 04 '21 17:01 Qix-

I guess it can just move the text or ignore it.
The use case would be getting 90 deg versions of the diagram.
But perhaps this is a stretch goal.

Today I drew this for some code comments:

#       /\             +----+
#      /  \            |    |
#     /    \           |    |
#    /      \          |    |
#   /        \         |    |
#  /          \        |    |
# +---+    +---+       |    |
#     |    |       +---+    +---+
#     |    |        \          /
#     |    |         \        /
#     |    |          \      /
#     |    |           \    /
#     |    |            \  /
#     +----+             \/

I added the diagonals manually.
It would have been nice to draw one shape, copy it, move a copy and have asciiflow allow flipping or rotating the shape by 180 deg.

adishavit avatar Jan 04 '21 17:01 adishavit

Sideways text would be very nice as well. Right now I draw the text out myself.

jtagcat avatar May 29 '21 13:05 jtagcat