Package org.lwjgl.util.harfbuzz
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
FieldsFields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Method Summary
Modifier and TypeMethodDescriptiondefault voidcallback(long ret, long args) default org.lwjgl.system.libffi.FFICIFvoidinvoke(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 thehb_font_funcs_tof anhb_font_tobject.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:
getCallInterfacein interfaceorg.lwjgl.system.CallbackI
-
callback
default void callback(long ret, long args) - Specified by:
callbackin interfaceorg.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 thehb_font_funcs_tof anhb_font_tobject.This method should retrieve the advances for a sequence of glyphs.
- Parameters:
font-hb_font_tto work uponfont_data-fontuser data pointercount- the number of glyph IDs in the sequence queriedfirst_glyph- the first glyph ID to queryglyph_stride- the stride between successive glyph IDsfirst_advance- the first advance retrievedadvance_stride- the stride between successive advancesuser_data- user data pointer passed by the caller
-