Class HarfBuzzGPU
java.lang.Object
org.lwjgl.util.harfbuzz.HarfBuzzGPU
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains the function pointers loaded from the harfbuzzSharedLibrary. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionstatic SharedLibraryReturns the harfbuzzSharedLibrary.static voidhb_gpu_draw_clear(long draw) void hb_gpu_draw_clear(hb_gpu_draw_t * draw)static longhb_gpu_draw_t * hb_gpu_draw_create_or_fail(void)static voidhb_gpu_draw_destroy(long draw) void hb_gpu_draw_destroy(hb_gpu_draw_t * draw)static longhb_gpu_draw_encode(long draw, @Nullable hb_glyph_extents_t extents) hb_blob_t * hb_gpu_draw_encode(hb_gpu_draw_t * draw, hb_glyph_extents_t * extents)static longhb_gpu_draw_get_funcs(long draw) hb_draw_funcs_t * hb_gpu_draw_get_funcs(hb_gpu_draw_t const * draw)static voidhb_gpu_draw_get_scale(long draw, @Nullable IntBuffer x_scale, @Nullable IntBuffer y_scale) void hb_gpu_draw_get_scale(hb_gpu_draw_t const * draw, int * x_scale, int * y_scale)static longhb_gpu_draw_get_user_data(long draw, hb_user_data_key_t key) void * hb_gpu_draw_get_user_data(hb_gpu_draw_t const * draw, hb_user_data_key_t * key)static voidhb_gpu_draw_glyph(long draw, long font, int glyph) void hb_gpu_draw_glyph(hb_gpu_draw_t * draw, hb_font_t * font, hb_codepoint_t glyph)static booleanhb_gpu_draw_glyph_or_fail(long draw, long font, int glyph) hb_bool_t hb_gpu_draw_glyph_or_fail(hb_gpu_draw_t * draw, hb_font_t * font, hb_codepoint_t glyph)static voidhb_gpu_draw_recycle_blob(long draw, long blob) void hb_gpu_draw_recycle_blob(hb_gpu_draw_t * draw, hb_blob_t * blob)static longhb_gpu_draw_reference(long draw) hb_gpu_draw_t * hb_gpu_draw_reference(hb_gpu_draw_t * draw)static voidhb_gpu_draw_reset(long draw) void hb_gpu_draw_reset(hb_gpu_draw_t * draw)static voidhb_gpu_draw_set_scale(long draw, int x_scale, int y_scale) void hb_gpu_draw_set_scale(hb_gpu_draw_t * draw, int x_scale, int y_scale)static booleanhb_gpu_draw_set_user_data(long draw, hb_user_data_key_t key, long data, @Nullable hb_destroy_func_tI destroy, boolean replace) hb_bool_t hb_gpu_draw_set_user_data(hb_gpu_draw_t * draw, hb_user_data_key_t * key, void * data, hb_destroy_func_t destroy, hb_bool_t replace)static @Nullable Stringhb_gpu_draw_shader_source(int stage, int lang) char const * hb_gpu_draw_shader_source(hb_gpu_shader_stage_t stage, hb_gpu_shader_lang_t lang)static voidhb_gpu_paint_clear(long paint) void hb_gpu_paint_clear(hb_gpu_paint_t * paint)static voidhb_gpu_paint_clear_custom_palette_colors(long paint) void hb_gpu_paint_clear_custom_palette_colors(hb_gpu_paint_t * paint)static longhb_gpu_paint_t * hb_gpu_paint_create_or_fail(void)static voidhb_gpu_paint_destroy(long paint) void hb_gpu_paint_destroy(hb_gpu_paint_t * paint)static longhb_gpu_paint_encode(long paint, hb_glyph_extents_t extents) hb_blob_t * hb_gpu_paint_encode(hb_gpu_paint_t * paint, hb_glyph_extents_t * extents)static longhb_gpu_paint_get_funcs(long paint) hb_paint_funcs_t * hb_gpu_paint_get_funcs(hb_gpu_paint_t const * paint)static inthb_gpu_paint_get_palette(long paint) unsigned hb_gpu_paint_get_palette(hb_gpu_paint_t const * paint)static voidhb_gpu_paint_get_scale(long paint, @Nullable IntBuffer x_scale, @Nullable IntBuffer y_scale) void hb_gpu_paint_get_scale(hb_gpu_paint_t const * paint, int * x_scale, int * y_scale)static longhb_gpu_paint_get_user_data(long paint, hb_user_data_key_t key) void * hb_gpu_paint_get_user_data(hb_gpu_paint_t const * paint, hb_user_data_key_t * key)static voidhb_gpu_paint_glyph(long paint, long font, int glyph) void hb_gpu_paint_glyph(hb_gpu_paint_t * paint, hb_font_t * font, hb_codepoint_t glyph)static booleanhb_gpu_paint_glyph_or_fail(long paint, long font, int glyph) hb_bool_t hb_gpu_paint_glyph_or_fail(hb_gpu_paint_t * paint, hb_font_t * font, hb_codepoint_t glyph)static voidhb_gpu_paint_recycle_blob(long paint, long blob) void hb_gpu_paint_recycle_blob(hb_gpu_paint_t * paint, hb_blob_t * blob)static longhb_gpu_paint_reference(long paint) hb_gpu_paint_t * hb_gpu_paint_reference(hb_gpu_paint_t * paint)static voidhb_gpu_paint_reset(long paint) void hb_gpu_paint_reset(hb_gpu_paint_t * paint)static booleanhb_gpu_paint_set_custom_palette_color(long paint, int color_index, int color) hb_bool_t hb_gpu_paint_set_custom_palette_color(hb_gpu_paint_t * paint, unsigned int color_index, hb_color_t color)static voidhb_gpu_paint_set_palette(long paint, int palette) void hb_gpu_paint_set_palette(hb_gpu_paint_t * paint, unsigned palette)static voidhb_gpu_paint_set_scale(long paint, int x_scale, int y_scale) void hb_gpu_paint_set_scale(hb_gpu_paint_t * paint, int x_scale, int y_scale)static booleanhb_gpu_paint_set_user_data(long paint, hb_user_data_key_t key, long data, @Nullable hb_destroy_func_tI destroy, boolean replace) hb_bool_t hb_gpu_paint_set_user_data(hb_gpu_paint_t * paint, hb_user_data_key_t * key, void * data, hb_destroy_func_t destroy, hb_bool_t replace)static @Nullable Stringhb_gpu_paint_shader_source(int stage, int lang) char const * hb_gpu_paint_shader_source(hb_gpu_shader_stage_t stage, hb_gpu_shader_lang_t lang)static @Nullable Stringhb_gpu_shader_source(int stage, int lang) char const * hb_gpu_shader_source(hb_gpu_shader_stage_t stage, hb_gpu_shader_lang_t lang)static longnhb_gpu_draw_encode(long draw, long extents) hb_blob_t * hb_gpu_draw_encode(hb_gpu_draw_t * draw, hb_glyph_extents_t * extents)static voidnhb_gpu_draw_get_scale(long draw, long x_scale, long y_scale) void hb_gpu_draw_get_scale(hb_gpu_draw_t const * draw, int * x_scale, int * y_scale)static longnhb_gpu_draw_get_user_data(long draw, long key) void * hb_gpu_draw_get_user_data(hb_gpu_draw_t const * draw, hb_user_data_key_t * key)static intnhb_gpu_draw_set_user_data(long draw, long key, long data, long destroy, int replace) hb_bool_t hb_gpu_draw_set_user_data(hb_gpu_draw_t * draw, hb_user_data_key_t * key, void * data, hb_destroy_func_t destroy, hb_bool_t replace)static longnhb_gpu_draw_shader_source(int stage, int lang) char const * hb_gpu_draw_shader_source(hb_gpu_shader_stage_t stage, hb_gpu_shader_lang_t lang)static longnhb_gpu_paint_encode(long paint, long extents) hb_blob_t * hb_gpu_paint_encode(hb_gpu_paint_t * paint, hb_glyph_extents_t * extents)static voidnhb_gpu_paint_get_scale(long paint, long x_scale, long y_scale) void hb_gpu_paint_get_scale(hb_gpu_paint_t const * paint, int * x_scale, int * y_scale)static longnhb_gpu_paint_get_user_data(long paint, long key) void * hb_gpu_paint_get_user_data(hb_gpu_paint_t const * paint, hb_user_data_key_t * key)static intnhb_gpu_paint_set_user_data(long paint, long key, long data, long destroy, int replace) hb_bool_t hb_gpu_paint_set_user_data(hb_gpu_paint_t * paint, hb_user_data_key_t * key, void * data, hb_destroy_func_t destroy, hb_bool_t replace)static longnhb_gpu_paint_shader_source(int stage, int lang) char const * hb_gpu_paint_shader_source(hb_gpu_shader_stage_t stage, hb_gpu_shader_lang_t lang)static longnhb_gpu_shader_source(int stage, int lang) char const * hb_gpu_shader_source(hb_gpu_shader_stage_t stage, hb_gpu_shader_lang_t lang)
-
Field Details
-
HB_GPU_SHADER_LANG_INVALID
public static final int HB_GPU_SHADER_LANG_INVALID- See Also:
-
HB_GPU_SHADER_LANG_GLSL
public static final int HB_GPU_SHADER_LANG_GLSL- See Also:
-
HB_GPU_SHADER_LANG_WGSL
public static final int HB_GPU_SHADER_LANG_WGSL- See Also:
-
HB_GPU_SHADER_LANG_MSL
public static final int HB_GPU_SHADER_LANG_MSL- See Also:
-
HB_GPU_SHADER_LANG_HLSL
public static final int HB_GPU_SHADER_LANG_HLSL- See Also:
-
HB_GPU_SHADER_STAGE_VERTEX
public static final int HB_GPU_SHADER_STAGE_VERTEX- See Also:
-
HB_GPU_SHADER_STAGE_FRAGMENT
public static final int HB_GPU_SHADER_STAGE_FRAGMENT- See Also:
-
-
Method Details
-
getLibrary
Returns the harfbuzzSharedLibrary. -
nhb_gpu_shader_source
public static long nhb_gpu_shader_source(int stage, int lang) char const * hb_gpu_shader_source(hb_gpu_shader_stage_t stage, hb_gpu_shader_lang_t lang) -
hb_gpu_shader_source
@NativeType("char const *") public static @Nullable String hb_gpu_shader_source(@NativeType("hb_gpu_shader_stage_t") int stage, @NativeType("hb_gpu_shader_lang_t") int lang) char const * hb_gpu_shader_source(hb_gpu_shader_stage_t stage, hb_gpu_shader_lang_t lang) -
nhb_gpu_draw_shader_source
public static long nhb_gpu_draw_shader_source(int stage, int lang) char const * hb_gpu_draw_shader_source(hb_gpu_shader_stage_t stage, hb_gpu_shader_lang_t lang) -
hb_gpu_draw_shader_source
@NativeType("char const *") public static @Nullable String hb_gpu_draw_shader_source(@NativeType("hb_gpu_shader_stage_t") int stage, @NativeType("hb_gpu_shader_lang_t") int lang) char const * hb_gpu_draw_shader_source(hb_gpu_shader_stage_t stage, hb_gpu_shader_lang_t lang) -
hb_gpu_draw_create_or_fail
hb_gpu_draw_t * hb_gpu_draw_create_or_fail(void) -
hb_gpu_draw_reference
@NativeType("hb_gpu_draw_t *") public static long hb_gpu_draw_reference(@NativeType("hb_gpu_draw_t *") long draw) hb_gpu_draw_t * hb_gpu_draw_reference(hb_gpu_draw_t * draw) -
hb_gpu_draw_destroy
void hb_gpu_draw_destroy(hb_gpu_draw_t * draw) -
nhb_gpu_draw_set_user_data
public static int nhb_gpu_draw_set_user_data(long draw, long key, long data, long destroy, int replace) hb_bool_t hb_gpu_draw_set_user_data(hb_gpu_draw_t * draw, hb_user_data_key_t * key, void * data, hb_destroy_func_t destroy, hb_bool_t replace) -
hb_gpu_draw_set_user_data
@NativeType("hb_bool_t") public static boolean hb_gpu_draw_set_user_data(@NativeType("hb_gpu_draw_t *") long draw, @NativeType("hb_user_data_key_t *") hb_user_data_key_t key, @NativeType("void *") long data, @NativeType("hb_destroy_func_t") @Nullable hb_destroy_func_tI destroy, @NativeType("hb_bool_t") boolean replace) hb_bool_t hb_gpu_draw_set_user_data(hb_gpu_draw_t * draw, hb_user_data_key_t * key, void * data, hb_destroy_func_t destroy, hb_bool_t replace) -
nhb_gpu_draw_get_user_data
public static long nhb_gpu_draw_get_user_data(long draw, long key) void * hb_gpu_draw_get_user_data(hb_gpu_draw_t const * draw, hb_user_data_key_t * key) -
hb_gpu_draw_get_user_data
@NativeType("void *") public static long hb_gpu_draw_get_user_data(@NativeType("hb_gpu_draw_t const *") long draw, @NativeType("hb_user_data_key_t *") hb_user_data_key_t key) void * hb_gpu_draw_get_user_data(hb_gpu_draw_t const * draw, hb_user_data_key_t * key) -
hb_gpu_draw_set_scale
public static void hb_gpu_draw_set_scale(@NativeType("hb_gpu_draw_t *") long draw, int x_scale, int y_scale) void hb_gpu_draw_set_scale(hb_gpu_draw_t * draw, int x_scale, int y_scale) -
nhb_gpu_draw_get_scale
public static void nhb_gpu_draw_get_scale(long draw, long x_scale, long y_scale) void hb_gpu_draw_get_scale(hb_gpu_draw_t const * draw, int * x_scale, int * y_scale) -
hb_gpu_draw_get_scale
public static void hb_gpu_draw_get_scale(@NativeType("hb_gpu_draw_t const *") long draw, @NativeType("int *") @Nullable IntBuffer x_scale, @NativeType("int *") @Nullable IntBuffer y_scale) void hb_gpu_draw_get_scale(hb_gpu_draw_t const * draw, int * x_scale, int * y_scale) -
hb_gpu_draw_get_funcs
@NativeType("hb_draw_funcs_t *") public static long hb_gpu_draw_get_funcs(@NativeType("hb_gpu_draw_t const *") long draw) hb_draw_funcs_t * hb_gpu_draw_get_funcs(hb_gpu_draw_t const * draw) -
hb_gpu_draw_glyph
public static void hb_gpu_draw_glyph(@NativeType("hb_gpu_draw_t *") long draw, @NativeType("hb_font_t *") long font, @NativeType("hb_codepoint_t") int glyph) void hb_gpu_draw_glyph(hb_gpu_draw_t * draw, hb_font_t * font, hb_codepoint_t glyph) -
hb_gpu_draw_glyph_or_fail
@NativeType("hb_bool_t") public static boolean hb_gpu_draw_glyph_or_fail(@NativeType("hb_gpu_draw_t *") long draw, @NativeType("hb_font_t *") long font, @NativeType("hb_codepoint_t") int glyph) hb_bool_t hb_gpu_draw_glyph_or_fail(hb_gpu_draw_t * draw, hb_font_t * font, hb_codepoint_t glyph) -
nhb_gpu_draw_encode
public static long nhb_gpu_draw_encode(long draw, long extents) hb_blob_t * hb_gpu_draw_encode(hb_gpu_draw_t * draw, hb_glyph_extents_t * extents) -
hb_gpu_draw_encode
@NativeType("hb_blob_t *") public static long hb_gpu_draw_encode(@NativeType("hb_gpu_draw_t *") long draw, @NativeType("hb_glyph_extents_t *") @Nullable hb_glyph_extents_t extents) hb_blob_t * hb_gpu_draw_encode(hb_gpu_draw_t * draw, hb_glyph_extents_t * extents) -
hb_gpu_draw_clear
void hb_gpu_draw_clear(hb_gpu_draw_t * draw) -
hb_gpu_draw_reset
void hb_gpu_draw_reset(hb_gpu_draw_t * draw) -
hb_gpu_draw_recycle_blob
public static void hb_gpu_draw_recycle_blob(@NativeType("hb_gpu_draw_t *") long draw, @NativeType("hb_blob_t *") long blob) void hb_gpu_draw_recycle_blob(hb_gpu_draw_t * draw, hb_blob_t * blob) -
hb_gpu_paint_create_or_fail
hb_gpu_paint_t * hb_gpu_paint_create_or_fail(void) -
hb_gpu_paint_reference
@NativeType("hb_gpu_paint_t *") public static long hb_gpu_paint_reference(@NativeType("hb_gpu_paint_t *") long paint) hb_gpu_paint_t * hb_gpu_paint_reference(hb_gpu_paint_t * paint) -
hb_gpu_paint_destroy
void hb_gpu_paint_destroy(hb_gpu_paint_t * paint) -
nhb_gpu_paint_set_user_data
public static int nhb_gpu_paint_set_user_data(long paint, long key, long data, long destroy, int replace) hb_bool_t hb_gpu_paint_set_user_data(hb_gpu_paint_t * paint, hb_user_data_key_t * key, void * data, hb_destroy_func_t destroy, hb_bool_t replace) -
hb_gpu_paint_set_user_data
@NativeType("hb_bool_t") public static boolean hb_gpu_paint_set_user_data(@NativeType("hb_gpu_paint_t *") long paint, @NativeType("hb_user_data_key_t *") hb_user_data_key_t key, @NativeType("void *") long data, @NativeType("hb_destroy_func_t") @Nullable hb_destroy_func_tI destroy, @NativeType("hb_bool_t") boolean replace) hb_bool_t hb_gpu_paint_set_user_data(hb_gpu_paint_t * paint, hb_user_data_key_t * key, void * data, hb_destroy_func_t destroy, hb_bool_t replace) -
nhb_gpu_paint_get_user_data
public static long nhb_gpu_paint_get_user_data(long paint, long key) void * hb_gpu_paint_get_user_data(hb_gpu_paint_t const * paint, hb_user_data_key_t * key) -
hb_gpu_paint_get_user_data
@NativeType("void *") public static long hb_gpu_paint_get_user_data(@NativeType("hb_gpu_paint_t const *") long paint, @NativeType("hb_user_data_key_t *") hb_user_data_key_t key) void * hb_gpu_paint_get_user_data(hb_gpu_paint_t const * paint, hb_user_data_key_t * key) -
hb_gpu_paint_get_funcs
@NativeType("hb_paint_funcs_t *") public static long hb_gpu_paint_get_funcs(@NativeType("hb_gpu_paint_t const *") long paint) hb_paint_funcs_t * hb_gpu_paint_get_funcs(hb_gpu_paint_t const * paint) -
hb_gpu_paint_set_palette
public static void hb_gpu_paint_set_palette(@NativeType("hb_gpu_paint_t *") long paint, @NativeType("unsigned") int palette) void hb_gpu_paint_set_palette(hb_gpu_paint_t * paint, unsigned palette) -
hb_gpu_paint_get_palette
@NativeType("unsigned") public static int hb_gpu_paint_get_palette(@NativeType("hb_gpu_paint_t const *") long paint) unsigned hb_gpu_paint_get_palette(hb_gpu_paint_t const * paint) -
hb_gpu_paint_clear_custom_palette_colors
public static void hb_gpu_paint_clear_custom_palette_colors(@NativeType("hb_gpu_paint_t *") long paint) void hb_gpu_paint_clear_custom_palette_colors(hb_gpu_paint_t * paint) -
hb_gpu_paint_set_custom_palette_color
@NativeType("hb_bool_t") public static boolean hb_gpu_paint_set_custom_palette_color(@NativeType("hb_gpu_paint_t *") long paint, @NativeType("unsigned int") int color_index, @NativeType("hb_color_t") int color) hb_bool_t hb_gpu_paint_set_custom_palette_color(hb_gpu_paint_t * paint, unsigned int color_index, hb_color_t color) -
hb_gpu_paint_set_scale
public static void hb_gpu_paint_set_scale(@NativeType("hb_gpu_paint_t *") long paint, int x_scale, int y_scale) void hb_gpu_paint_set_scale(hb_gpu_paint_t * paint, int x_scale, int y_scale) -
nhb_gpu_paint_get_scale
public static void nhb_gpu_paint_get_scale(long paint, long x_scale, long y_scale) void hb_gpu_paint_get_scale(hb_gpu_paint_t const * paint, int * x_scale, int * y_scale) -
hb_gpu_paint_get_scale
public static void hb_gpu_paint_get_scale(@NativeType("hb_gpu_paint_t const *") long paint, @NativeType("int *") @Nullable IntBuffer x_scale, @NativeType("int *") @Nullable IntBuffer y_scale) void hb_gpu_paint_get_scale(hb_gpu_paint_t const * paint, int * x_scale, int * y_scale) -
hb_gpu_paint_glyph
public static void hb_gpu_paint_glyph(@NativeType("hb_gpu_paint_t *") long paint, @NativeType("hb_font_t *") long font, @NativeType("hb_codepoint_t") int glyph) void hb_gpu_paint_glyph(hb_gpu_paint_t * paint, hb_font_t * font, hb_codepoint_t glyph) -
hb_gpu_paint_glyph_or_fail
@NativeType("hb_bool_t") public static boolean hb_gpu_paint_glyph_or_fail(@NativeType("hb_gpu_paint_t *") long paint, @NativeType("hb_font_t *") long font, @NativeType("hb_codepoint_t") int glyph) hb_bool_t hb_gpu_paint_glyph_or_fail(hb_gpu_paint_t * paint, hb_font_t * font, hb_codepoint_t glyph) -
nhb_gpu_paint_encode
public static long nhb_gpu_paint_encode(long paint, long extents) hb_blob_t * hb_gpu_paint_encode(hb_gpu_paint_t * paint, hb_glyph_extents_t * extents) -
hb_gpu_paint_encode
@NativeType("hb_blob_t *") public static long hb_gpu_paint_encode(@NativeType("hb_gpu_paint_t *") long paint, @NativeType("hb_glyph_extents_t *") hb_glyph_extents_t extents) hb_blob_t * hb_gpu_paint_encode(hb_gpu_paint_t * paint, hb_glyph_extents_t * extents) -
hb_gpu_paint_clear
void hb_gpu_paint_clear(hb_gpu_paint_t * paint) -
hb_gpu_paint_reset
void hb_gpu_paint_reset(hb_gpu_paint_t * paint) -
hb_gpu_paint_recycle_blob
public static void hb_gpu_paint_recycle_blob(@NativeType("hb_gpu_paint_t *") long paint, @NativeType("hb_blob_t *") long blob) void hb_gpu_paint_recycle_blob(hb_gpu_paint_t * paint, hb_blob_t * blob) -
nhb_gpu_paint_shader_source
public static long nhb_gpu_paint_shader_source(int stage, int lang) char const * hb_gpu_paint_shader_source(hb_gpu_shader_stage_t stage, hb_gpu_shader_lang_t lang) -
hb_gpu_paint_shader_source
@NativeType("char const *") public static @Nullable String hb_gpu_paint_shader_source(@NativeType("hb_gpu_shader_stage_t") int stage, @NativeType("hb_gpu_shader_lang_t") int lang) char const * hb_gpu_paint_shader_source(hb_gpu_shader_stage_t stage, hb_gpu_shader_lang_t lang)
-