code: def _from_pointer(pointer, incref):
          
          if pointer == ffi.NULL:
              raise ValueError('Null pointer')
          if incref:
              cairo.cairo_scaled_font_reference(pointer)
          self = object.__new__(ScaledFont)
          ScaledFont._init_pointer(self, pointer)
          return self
docs: Wrap an existing :c:type:`cairo_scaled_font_t *` cdata pointer.
  
          :type incref: bool
          :param incref:
              Whether increase the :ref:`reference count <refcounting>` now.
          :return: A new :class:`ScaledFont` instance.