All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.lwjgl.nuklear.NkTextWidthCallbackI Maven / Gradle / Ivy

There is a newer version: 3.3.4
Show newest version
/*
 * Copyright LWJGL. All rights reserved.
 * License terms: https://www.lwjgl.org/license
 * MACHINE GENERATED FILE, DO NOT EDIT
 */
package org.lwjgl.nuklear;

import org.lwjgl.system.*;

import static org.lwjgl.system.dyncall.DynCallback.*;

/**
 * Instances of this interface may be set to the {@link NkUserFont} struct.
 * 
 * 

Type

* *

 * float (*) (
 *     nk_handle handle,
 *     float h,
 *     char const *text,
 *     int len
 * )
*/ @FunctionalInterface @NativeType("nk_text_width_f") public interface NkTextWidthCallbackI extends CallbackI.F { String SIGNATURE = "(pfpi)f"; @Override default String getSignature() { return SIGNATURE; } @Override default float callback(long args) { return invoke( dcbArgPointer(args), dcbArgFloat(args), dcbArgPointer(args), dcbArgInt(args) ); } float invoke(@NativeType("nk_handle") long handle, float h, @NativeType("char const *") long text, int len); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy