I've got a long sequence of canvas .scale()
, .translate()
, .save()
, and .restore()
commands in my code.
Is there any way to retrieve some representation of the current transformation, short of logging everything myself, such that I can find out where a screen coordinate maps to a transformed coordinate.
Is this possible?