Interface FontMapClass.OnLoadFont

Enclosing class:
FontMapClass
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface FontMapClass.OnLoadFont
  • Method Details

    • onLoadFont

      Font onLoadFont(CallbackHandler __self, @Nonnull FontMap fontmap, @Nonnull Context context, @Nonnull FontDescription desc)
      Parameters:
      fontmap - a `PangoFontMap`
      context - the `PangoContext` the font will be used with
      desc - a `PangoFontDescription` describing the font to load
      Returns:
      the newly allocated `PangoFont` loaded, or %NULL if no font matched.