Package: pango

## Function pango-context-matrix

## Lambda Listpango-context-matrix ( context)## Syntax(pango-context-matrix context) => matrix (setf (pango-context-matrix context) matrix) ## Argumentscontext -- a pango-context object matrix -- a pango-matrix instance, or nil to unset any existing matrix, no matrix set is the same as setting the identity matrix ## Details
Accessor of the transformation matrix of the Pango context. The function pango-contex-matrix gets the transformation matrix that will be applied when rendering with this context. The function (setf pango-context-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 do not scale with the matrix, though they may change slightly for different matrices, depending on how the text is fit to the pixel grid. | ## See also |

2021-1-3