code: def get_device_offset(self):
          
          offsets = ffi.new('double[2]')
          cairo.cairo_surface_get_device_offset(
              self._pointer, offsets + 0, offsets + 1)
          return tuple(offsets)
docs: Returns the previous device offset set by :meth:`set_device_offset`.
  
          :returns: ``(x_offset, y_offset)``