Search⌘ K

Current Transform Matrix

Explore how the current transform matrix (CTM) in Pycairo controls geometric transformations like translation, scaling, and rotation. Understand its cumulative effect on shapes and how it enables complex graphic manipulation by updating the CTM with each transform operation.

We'll cover the following...

CTM

Under the hood, Pycairo uses a matrix to calculate the transformations. This is called the current transform matrix (CTM) and forms part of the ...