Skip to content

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

Description

@VenissaCarolQuadros

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions