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

public abstract Class hb_font_get_nominal_glyphs_func_t

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

Type


unsigned int (*invoke) (
    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 and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public static hb_font_get_nominal_glyphs_func_t

Returns:

the new hb_font_get_nominal_glyphs_func_t
create
(long functionPointer)

Creates a hb_font_get_nominal_glyphs_func_t instance from the specified function pointer.

public static hb_font_get_nominal_glyphs_func_t
create(hb_font_get_nominal_glyphs_func_tI instance)

Creates a hb_font_get_nominal_glyphs_func_t instance that delegates to the specified hb_font_get_nominal_glyphs_func_tI instance.

public static hb_font_get_nominal_glyphs_func_t
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

hb_font_get_nominal_glyphs_func_tback to summary
protected hb_font_get_nominal_glyphs_func_t()
hb_font_get_nominal_glyphs_func_tback to summary
pack-priv hb_font_get_nominal_glyphs_func_t(long functionPointer)

Method Detail

createback to summary
public static hb_font_get_nominal_glyphs_func_t create(long functionPointer)

Creates a hb_font_get_nominal_glyphs_func_t instance from the specified function pointer.

Returns:hb_font_get_nominal_glyphs_func_t

the new hb_font_get_nominal_glyphs_func_t

createback to summary
public static hb_font_get_nominal_glyphs_func_t create(hb_font_get_nominal_glyphs_func_tI instance)

Creates a hb_font_get_nominal_glyphs_func_t instance that delegates to the specified hb_font_get_nominal_glyphs_func_tI instance.

createSafeback to summary
public static hb_font_get_nominal_glyphs_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_font_get_nominal_glyphs_func_t.Container

extends hb_font_get_nominal_glyphs_func_t
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final hb_font_get_nominal_glyphs_func_tI

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public int
invoke(long
hb_font_t to work upon
font
,
long
font user data pointer
font_data
,
int
number of code points to query
count
,
long
the first Unicode code point to query
first_unicode
,
int
the stride between successive code points
unicode_stride
,
long
the first glyph ID retrieved
first_glyph
,
int
the stride between successive glyph IDs
glyph_stride
,
long
user data pointer passed by the caller
user_data
)

Implements org.lwjgl.util.harfbuzz.hb_font_get_nominal_glyphs_func_tI.invoke.

A virtual method for the hb_font_funcs_t of an hb_font_t object.
Inherited from org.lwjgl.util.harfbuzz.hb_font_get_nominal_glyphs_func_t:
createcreatecreateSafe

Field Detail

delegateback to summary
private final hb_font_get_nominal_glyphs_func_tI delegate

Constructor Detail

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

Method Detail

invokeback to summary
public int invoke(long font, long font_data, int count, long first_unicode, int unicode_stride, long first_glyph, int glyph_stride, long user_data)

Implements org.lwjgl.util.harfbuzz.hb_font_get_nominal_glyphs_func_tI.invoke.

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

A virtual method for the hb_font_funcs_t of an hb_font_t object.

This method should retrieve the nominal glyph IDs for a sequence of Unicode code points. Glyph IDs must be returned in a hb_codepoint_t output parameter.

Return value: the number of code points processed.

Parameters
font:long

hb_font_t to work upon

font_data:long

font user data pointer

count:int

number of code points to query

first_unicode:long

the first Unicode code point to query

unicode_stride:int

the stride between successive code points

first_glyph:long

the first glyph ID retrieved

glyph_stride:int

the stride between successive glyph IDs

user_data:long

user data pointer passed by the caller

Annotations
@Override