Skip to content

Regarding viewBox and draw.Lines #35

Answered by cduck
Sajal92 asked this question in Q&A
Discussion options

You must be logged in to vote
  1. If you post a code snippet that shows your issue, I can help better. My guess is you used d.setPixelScale(2) from example 1 which sets the coordinate system scale to 2x.
  2. The inverted y-coordinate was a design decision when the library was used for mathematical drawings. See #18 and #11 for context.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Sajal92
Comment options

Answer selected by cduck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants