Description Methods and Functions Detailed Description Author(s) References
Manipulating the current transformation matrix
cairoTranslate(cr, tx, ty)
cairoScale(cr, sx, sy)
cairoRotate(cr, angle)
cairoTransform(cr, matrix)
cairoSetMatrix(cr, matrix)
cairoGetMatrix(cr, matrix)
cairoIdentityMatrix(cr)
cairoUserToDevice(cr, x, y)
cairoUserToDeviceDistance(cr, dx, dy)
cairoDeviceToUser(cr, x, y)
cairoDeviceToUserDistance(cr, dx, dy)
The current transformation matrix, ctm, is a two-dimensional affine transformation that maps all coordinates and other drawing instruments from the user space into the surface's canonical coordinate system, also known as the device space.
Derived by RGtkGen from GTK+ documentation
https://www.cairographics.org/manual/cairo-Transformations.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.