Skip to content

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

@VenissaCarolQuadros

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.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions