code: def get_device_scale(self):
          
          size = ffi.new('double[2]')
          cairo.cairo_surface_get_device_scale(self._pointer, size + 0, size + 1)
          return tuple(size)
docs: Returns the previous device offset set by :meth:`set_device_scale`.
  
          *New in cairo 1.14.*
  
          *New in cairocffi 0.9.*