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

Modify the TAT and Monarch client to correctly handle SVG origins other than (0,0) #60

Open
VenissaCarolQuadros opened this issue Nov 15, 2024 · 0 comments
Assignees

Comments

@VenissaCarolQuadros
Copy link
Member

Currently, the TAT canvas does not shift if the SVG origin is anything besides (0,0) despite fitting to graphic height and width and makes the viewBox attribute disappear. This made the output of an earlier implementation of the photo-tactile-handler (origin = (0, -y_max)) appear above the canvas.
image
While this can be forced to fit using setResolution('fit', 'fit'), this involves the use of transforms which the IMAGE-Monarch client does not handle correctly.

The complete resolution of this issue will involve changes to both the TAT by either using transforms or some other mechanism and also the Monarch client to work correctly with transforms.

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