cairo-transformations: Transformations

Description Methods and Functions Detailed Description Author(s) References

Description

Manipulating the current transformation matrix

Methods and Functions

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)

Detailed Description

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.

Author(s)

Derived by RGtkGen from GTK+ documentation

References

https://www.cairographics.org/manual/cairo-Transformations.html


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.