Context.transform
void transform(cairo.matrix.Matrix matrix)Modifies the current transformation matrix (CTM) by applying matrix as an additional transformation. The new transformation of user space takes place after any existing transformation.
Parameters
matrix | a transformation to be applied to the user-space axes |