Top Description Inners Constructors Methods
org.lwjgl.nuklear

public abstract Class NkQueryFontGlyphCallback

extends Callback
implements NkQueryFontGlyphCallbackI
Class Inheritance
All Implemented Interfaces
org.lwjgl.nuklear.NkQueryFontGlyphCallbackI, org.lwjgl.system.CallbackI, org.lwjgl.system.Pointer
Known Direct Subclasses
org.lwjgl.nuklear.NkQueryFontGlyphCallback.Container
Imports
javax.annotation.*, org.lwjgl.system.*

Instances of this class may be set to the NkUserFont struct.

Type


void (*invoke) (
    nk_handle handle,
    float font_height,
    struct nk_user_font_glyph *glyph,
    nk_rune codepoint,
    nk_rune next_codepoint
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public static NkQueryFontGlyphCallback

Returns:

the new NkQueryFontGlyphCallback
create
(long functionPointer)

Creates a NkQueryFontGlyphCallback instance from the specified function pointer.

public static NkQueryFontGlyphCallback
create(NkQueryFontGlyphCallbackI instance)

Creates a NkQueryFontGlyphCallback instance that delegates to the specified NkQueryFontGlyphCallbackI instance.

public static NkQueryFontGlyphCallback
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

NkQueryFontGlyphCallbackback to summary
protected NkQueryFontGlyphCallback()
NkQueryFontGlyphCallbackback to summary
pack-priv NkQueryFontGlyphCallback(long functionPointer)

Method Detail

createback to summary
public static NkQueryFontGlyphCallback create(long functionPointer)

Creates a NkQueryFontGlyphCallback instance from the specified function pointer.

Returns:NkQueryFontGlyphCallback

the new NkQueryFontGlyphCallback

createback to summary
public static NkQueryFontGlyphCallback create(NkQueryFontGlyphCallbackI instance)

Creates a NkQueryFontGlyphCallback instance that delegates to the specified NkQueryFontGlyphCallbackI instance.

createSafeback to summary
public static NkQueryFontGlyphCallback createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.nuklear back to summary

private final Class NkQueryFontGlyphCallback.Container

extends NkQueryFontGlyphCallback
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final NkQueryFontGlyphCallbackI

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public void
invoke(long handle, float font_height, long glyph, int codepoint, int next_codepoint)

Implements org.lwjgl.nuklear.NkQueryFontGlyphCallbackI.invoke.

Inherited from org.lwjgl.nuklear.NkQueryFontGlyphCallback:
createcreatecreateSafe

Field Detail

delegateback to summary
private final NkQueryFontGlyphCallbackI delegate

Constructor Detail

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

Method Detail

invokeback to summary
public void invoke(long handle, float font_height, long glyph, int codepoint, int next_codepoint)

Implements org.lwjgl.nuklear.NkQueryFontGlyphCallbackI.invoke.

Annotations
@Override