docs: def set_fallback_resolution(self, x_pixels_per_inch, y_pixels_per_inch):
          """
          Set the horizontal and vertical resolution for image fallbacks.
  
          When certain operations aren't supported natively by a backend,
          cairo will fallback by rendering operations to an image
          and then overlaying that image onto the output.
          For backends that are natively vector-oriented,
          this method can be used to set the resolution
          used for these image fallbacks,
          (larger values will result in more detailed images,
          but also larger file sizes).
  
          Some examples of natively vector-oriented backends are
          the ps, pdf, and svg backends.
  
          For backends that are natively raster-oriented,
          image fallbacks are still possible,
          but they are always performed at the native device resolution.
          So this method has no effect on those backends.
  
          .. note::
  
              The fallback resolution only takes effect
              at the time of completing a page
              (with :meth:`show_page` or :meth:`copy_page`)
              so there is currently no way to have
              more than one fallback resolution in effect on a single page.
  
          The default fallback resoultion is
          300 pixels per inch in both dimensions.
  
          :param x_pixels_per_inch: horizontal resolution in pixels per inch
          :type x_pixels_per_inch: float
          :param y_pixels_per_inch: vertical resolution in pixels per inch
          :type y_pixels_per_inch: float
  
          """
          cairo.cairo_surface_set_fallback_resolution(
              self._pointer, x_pixels_per_inch, y_pixels_per_inch)
          self._check_status()