Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

captype should have effect on Line's linecap output too. #224

Open
leandro2222 opened this issue Apr 26, 2020 · 0 comments
Open

captype should have effect on Line's linecap output too. #224

leandro2222 opened this issue Apr 26, 2020 · 0 comments

Comments

@leandro2222
Copy link
Contributor

leandro2222 commented Apr 26, 2020

Just like it was made with paths in the pull #219 (click here) it would be useful to have the anondraw.collab.paint.captype variable having effect in 'line' linecap too.

The creation of multiple brush paths in a short amount of time can crash the page so the line feature is more safe to do advanced stuff... But currently it has this 'linecap' limitation.

Example of a sequence of line strokes with different transparency using linecap 'round' (on left) and linecap 'butt' (on right):
Example of line with different linecaps
As we see in the image, the intersection of the round linecaps messes up the final result in this kind of scenario. But, unfortunately, the 'butt' linecap isn't saved by the server (it saves everything as 'round').

So, my request is: support for linecap on the 'line' drawFunction (already implemented in brush paths).

ps: I would like to submit this as a pull request myself but unfortunately I have no way to emulate anondraw here in order to do server side tests (32-bit system).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant