TransformPropertyInverse

Typeoperator
DictionaryLCB
LibraryLiveCode Builder
Syntax
the inverse of <mTransform>
Associationscom.livecode.canvas
Summary

The inverse of a transform.

Parameters
NameTypeDescription
mTransform

An expression which evaluates to a transform.

Example
variable tTransform
put transform with matrix [0,2,-2,0,50,100] into tTransform

// Get the inverse of the current transform
variable tInverse
put the inverse of tTransform into tInverse

// Combine the transform with its inverse to produce the identity transform
concat tTransform with tInverse
Description

The inverse of mTransform

Note: The inverse of a transform matrix is the transform that reverses the effect of the original. Combining a transform with its inverse will produce the identity transform.

Tagscanvas