Top Description Inners Constructors Methods
org.lwjgl.util.harfbuzz

public abstract Class hb_unicode_decompose_func_t

extends Callback
implements hb_unicode_decompose_func_tI
Class Inheritance
All Implemented Interfaces
org.lwjgl.util.harfbuzz.hb_unicode_decompose_func_tI, org.lwjgl.system.CallbackI, org.lwjgl.system.Pointer
Known Direct Subclasses
org.lwjgl.util.harfbuzz.hb_unicode_decompose_func_t.Container
Imports
javax.annotation.*, org.lwjgl.system.*

Type


hb_bool_t (*invoke) (
    hb_unicode_funcs_t *ufuncs,
    hb_codepoint_t ab,
    hb_codepoint_t *a,
    hb_codepoint_t *b,
    void *user_data
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

AccessConstructor and Description
protected
pack-priv
hb_unicode_decompose_func_t(long functionPointer)

Method Summary

Modifier and TypeMethod and Description
public static hb_unicode_decompose_func_t

Returns:

the new hb_unicode_decompose_func_t
create
(long functionPointer)

Creates a hb_unicode_decompose_func_t instance from the specified function pointer.

public static hb_unicode_decompose_func_t
create(hb_unicode_decompose_func_tI instance)

Creates a hb_unicode_decompose_func_t instance that delegates to the specified hb_unicode_decompose_func_tI instance.

public static hb_unicode_decompose_func_t
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

hb_unicode_decompose_func_tback to summary
protected hb_unicode_decompose_func_t()
hb_unicode_decompose_func_tback to summary
pack-priv hb_unicode_decompose_func_t(long functionPointer)

Method Detail

createback to summary
public static hb_unicode_decompose_func_t create(long functionPointer)

Creates a hb_unicode_decompose_func_t instance from the specified function pointer.

Returns:hb_unicode_decompose_func_t

the new hb_unicode_decompose_func_t

createback to summary
public static hb_unicode_decompose_func_t create(hb_unicode_decompose_func_tI instance)

Creates a hb_unicode_decompose_func_t instance that delegates to the specified hb_unicode_decompose_func_tI instance.

createSafeback to summary
public static hb_unicode_decompose_func_t createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.util.harfbuzz back to summary

private final Class hb_unicode_decompose_func_t.Container

extends hb_unicode_decompose_func_t
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final hb_unicode_decompose_func_tI

Constructor Summary

AccessConstructor and Description
pack-priv
Container(long functionPointer, hb_unicode_decompose_func_tI delegate)

Method Summary

Modifier and TypeMethod and Description
public int
invoke(long
a Unicode-functions structure
ufuncs
,
int
the code point to decompose
ab
,
long
the first decomposed code point
a
,
long
the second decomposed code point
b
,
long
user data pointer passed by the caller
user_data
)

Implements org.lwjgl.util.harfbuzz.hb_unicode_decompose_func_tI.invoke.

A virtual method for the hb_unicode_funcs_t structure.
Inherited from org.lwjgl.util.harfbuzz.hb_unicode_decompose_func_t:
createcreatecreateSafe

Field Detail

delegateback to summary
private final hb_unicode_decompose_func_tI delegate

Constructor Detail

Containerback to summary
pack-priv Container(long functionPointer, hb_unicode_decompose_func_tI delegate)

Method Detail

invokeback to summary
public int invoke(long ufuncs, int ab, long a, long b, long user_data)

Implements org.lwjgl.util.harfbuzz.hb_unicode_decompose_func_tI.invoke.

Doc from org.lwjgl.util.harfbuzz.hb_unicode_decompose_func_tI.invoke.

A virtual method for the hb_unicode_funcs_t structure.

This method should decompose an input Unicode code point, returning the two decomposed code points in hb_codepoint_t output parameters (if successful). The method must return an hb_bool_t indicating the success of the composition.

Return value: true if ab decomposed, false otherwise

Parameters
ufuncs:long

a Unicode-functions structure

ab:int

the code point to decompose

a:long

the first decomposed code point

b:long

the second decomposed code point

user_data:long

user data pointer passed by the caller

Annotations
@Override