docs: def set_matrix(self, matrix):
          """Modifies the current transformation matrix (CTM)
          by setting it equal to :obj:`matrix`.
  
          :param matrix:
              A transformation :class:`Matrix` from user space to device space.
  
          """
          cairo.cairo_set_matrix(self._pointer, matrix._pointer)
          self._check_status()