Interface hb_font_get_glyph_advances_func_tI

All Superinterfaces:
org.lwjgl.system.CallbackI, org.lwjgl.system.Pointer
All Known Implementing Classes:
hb_font_get_glyph_advances_func_t
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 interface hb_font_get_glyph_advances_func_tI extends org.lwjgl.system.CallbackI

Type


 void (*invoke(long, long, int, long, int, long, int, long)) (
     hb_font_t *font,
     void *font_data,
     unsigned int count,
     hb_codepoint_t const *first_glyph,
     unsigned int glyph_stride,
     hb_position_t *first_advance,
     unsigned int advance_stride,
     void *user_data
 )
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer

    org.lwjgl.system.Pointer.Default
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.lwjgl.system.libffi.FFICIF
     

    Fields inherited from interface org.lwjgl.system.Pointer

    BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    callback(long ret, long args)
     
    default org.lwjgl.system.libffi.FFICIF
     
    void
    invoke(long font, long font_data, int count, long first_glyph, int glyph_stride, long first_advance, int advance_stride, long user_data)
    A virtual method for the hb_font_funcs_t of an hb_font_t object.

    Methods inherited from interface org.lwjgl.system.CallbackI

    address
  • Field Details

    • CIF

      static final org.lwjgl.system.libffi.FFICIF CIF
  • Method Details

    • getCallInterface

      default org.lwjgl.system.libffi.FFICIF getCallInterface()
      Specified by:
      getCallInterface in interface org.lwjgl.system.CallbackI
    • callback

      default void callback(long ret, long args)
      Specified by:
      callback in interface org.lwjgl.system.CallbackI
    • invoke

      void invoke(long font, long font_data, int count, long first_glyph, int glyph_stride, long first_advance, int advance_stride, long user_data)
      A virtual method for the hb_font_funcs_t of an hb_font_t object.

      This method should retrieve the advances for a sequence of glyphs.

      Parameters:
      font - hb_font_t to work upon
      font_data - font user data pointer
      count - the number of glyph IDs in the sequence queried
      first_glyph - the first glyph ID to query
      glyph_stride - the stride between successive glyph IDs
      first_advance - the first advance retrieved
      advance_stride - the stride between successive advances
      user_data - user data pointer passed by the caller