Interface hb_font_get_glyph_origin_func_tI

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

Type


 hb_bool_t (*invoke(long, long, int, long, long, long)) (
     hb_font_t *font,
     void *font_data,
     hb_codepoint_t glyph,
     hb_position_t *x,
     hb_position_t *y,
     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
     
    int
    invoke(long font, long font_data, int glyph, long x, long y, 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

      int invoke(long font, long font_data, int glyph, long x, long y, long user_data)
      A virtual method for the hb_font_funcs_t of an hb_font_t object.

      This method should retrieve the (X,Y) coordinates (in font units) of the origin for a glyph. Each coordinate must be returned in an hb_position_t output parameter.

      Return value: true if data found, false otherwise

      Parameters:
      font - hb_font_t to work upon
      font_data - font user data pointer
      glyph - the glyph ID to query
      x - the X coordinate of the origin
      y - the Y coordinate of the origin
      user_data - user data pointer passed by the caller