Skip to content

No way to construct a SkM44 #338

@bhargavkulk

Description

@bhargavkulk

Describe the bug
SkM44 constructor takes no inputs. So I cannot construct 4x4 matrix to use in canvas.concat or canvas.setMatrix. The normal Matrix class is 3x3, but the Matrix state held by Skia is 4x4, so this design choice does not make much sense.

To Reproduce
Steps to reproduce the behavior:

  1. Try constructing your own M44

Expected behavior
I expect to make my own M44 given a 4x4 matrix

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions