Skip to content

Working with matrices to accumulate transformations #1342

Open
@raffaeler

Description

@raffaeler

Question

I have to draw a custom map supporting translations, rotations and zooming.
The transforms of every gesture is always additive in respect of the previous gestures.
From a math perspective this simply means multiplying the new transform and proceed to the next.

The transform style in React Native apparently does not support matrices (and this is very surprising to me). How can I work with matrices in react-native-svg in order to accumulate the transformations?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions