cairo_matrix 3 cairo_matrix a matrix Description typescairo_matrix A cairo_matrix contains the current state of the rendering device, including coordinates of yet to be drawn shapes. cairo_matrix's can be pushed to a stack via cairo_save. They may then savely be changed, without loosing the current state. Use cairo_restore to restore to the saved state.