set_matrix


Description:

[ Version ( since = "1.6" ) ]
public void set_matrix (Matrix? matrix)

Sets the transformation matrix that will be applied when rendering with this context.

Note that reported metrics are in the user space coordinates before the application of the matrix, not device-space coordinates after the application of the matrix. So, they don't scale with the matrix, though they may change slightly for different matrices, depending on how the text is fit to the pixel grid.

Parameters:

this

a `PangoContext`

matrix

a `PangoMatrix`, or null to unset any existing matrix. (No matrix set is the same as setting the identity matrix.)