Package org.lwjgl.util.harfbuzz
Interface hb_font_get_glyph_contour_point_func_tI
- All Superinterfaces:
org.lwjgl.system.CallbackI,org.lwjgl.system.Pointer
- All Known Implementing Classes:
hb_font_get_glyph_contour_point_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_contour_point_func_tI
extends org.lwjgl.system.CallbackI
Type
hb_bool_t (*invoke(long, long, int, int, long, long, long)) (
hb_font_t *font,
void *font_data,
hb_codepoint_t glyph,
unsigned int point_index,
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
FieldsFields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Method Summary
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 glyph, int point_index, long x, long y, long user_data) A virtual method for thehb_font_funcs_tof anhb_font_tobject.This method should retrieve the (X,Y) coordinates (in font units) for a specified contour point in a glyph. Each coordinate must be returned as an
hb_position_toutput parameter.Return value:
trueif data found,falseotherwise.- Parameters:
font-hb_font_tto work uponfont_data-fontuser data pointerglyph- the glyph ID to querypoint_index- the contour-point index to queryx- the X value retrieved for the contour pointy- the Y value retrieved for the contour pointuser_data- user data pointer passed by the caller
-