DRAW LINE or PIXEL with pattern

Ideas for improvement
Post Reply
User avatar
Dutchman
Posts: 151
Joined: Tue Aug 06, 2019 4:47 pm
Location: Netherlands

DRAW LINE or PIXEL with pattern

Post by Dutchman » Fri Oct 25, 2019 8:35 pm

Would it be possible to extend the 'DRAW LINE' and 'DRAW PIXEL' commands with an optional line pattern. :?:
DRAW LINE x1.y1, x2, y2, "1001" would then draw a line in which two points are repeatedly followed by two spaces
The same could be applied to 'DRAW PIXEL' in case two xy parameters are given.
This offers also the possibility to draw a 'running' line. ;)
Last edited by Dutchman on Sat Oct 26, 2019 8:07 am, edited 1 time in total.
It is still a long way to go

User avatar
kibernetik
Site Admin
Posts: 142
Joined: Tue Aug 06, 2019 3:03 pm

Re: DRAW LINE or PIXEL with pattern

Post by kibernetik » Fri Oct 25, 2019 10:41 pm

Thank you for the suggestion!

In your "1001" pattern "1" means "draw" and "0" means "do not draw"?

User avatar
Dutchman
Posts: 151
Joined: Tue Aug 06, 2019 4:47 pm
Location: Netherlands

Re: DRAW LINE or PIXEL with pattern

Post by Dutchman » Sat Oct 26, 2019 8:06 am

kibernetik wrote:
Fri Oct 25, 2019 10:41 pm

In your "1001" pattern "1" means "draw" and "0" means "do not draw"?
Yes :!:
In the second line I changed "pixels" into "points"
It is still a long way to go

Post Reply