Package org.lwjgl.util.harfbuzz
Interface hb_font_get_nominal_glyphs_func_tI
- All Superinterfaces:
org.lwjgl.system.CallbackI,org.lwjgl.system.Pointer
- All Known Implementing Classes:
hb_font_get_nominal_glyphs_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_nominal_glyphs_func_tI
extends org.lwjgl.system.CallbackI
Type
unsigned int (*invoke(long, long, int, long, int, long, int, long)) (
hb_font_t *font,
void *font_data,
unsigned int count,
hb_codepoint_t const *first_unicode,
unsigned int unicode_stride,
hb_codepoint_t *first_glyph,
unsigned int glyph_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.FFICIFintinvoke(long font, long font_data, int count, long first_unicode, int unicode_stride, long first_glyph, int glyph_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
int invoke(long font, long font_data, int count, long first_unicode, int unicode_stride, long first_glyph, int glyph_stride, long user_data) A virtual method for thehb_font_funcs_tof anhb_font_tobject.This method should retrieve the nominal glyph IDs for a sequence of Unicode code points. Glyph IDs must be returned in a
hb_codepoint_toutput parameter.Return value: the number of code points processed.
- Parameters:
font-hb_font_tto work uponfont_data-fontuser data pointercount- number of code points to queryfirst_unicode- the first Unicode code point to queryunicode_stride- the stride between successive code pointsfirst_glyph- the first glyph ID retrievedglyph_stride- the stride between successive glyph IDsuser_data- user data pointer passed by the caller
-