Automattic / Automattic/node-canvas

failed to set transform and cannot reset

Open
#2,437 0 comments 0 reactions 0 assignees View on GitHub
Bug
Dominant language
JavaScript
Stars
10.7k
Forks
1.2k
Avg merge
4d 8h
Merged PRs (30d)
1

Description

after i set ctx.transform(0, 0, 0, 0.3, 0, 800), i cannot set transform or resetTransform.
the ctx.getTransform().toString() will always be matrix(1,0,0,1,0,0).

version 2.11.0

i guess it occurs when transform matrix.a === 0

the same code i run in browser canvas is correct

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.