org.lwjgl.util.yoga.YGBaselineFuncI Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl-yoga Show documentation
Show all versions of lwjgl-yoga Show documentation
An open-source, cross-platform layout library that implements Flexbox.
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.util.yoga;
import org.lwjgl.system.*;
import static org.lwjgl.system.dyncall.DynCallback.*;
/**
* Type
*
*
* float (*) (
* YGNodeRef node,
* float width,
* float height
* )
*/
@FunctionalInterface
@NativeType("YGBaselineFunc")
public interface YGBaselineFuncI extends CallbackI.F {
String SIGNATURE = "(pff)f";
@Override
default String getSignature() { return SIGNATURE; }
@Override
default float callback(long args) {
return invoke(
dcbArgPointer(args),
dcbArgFloat(args),
dcbArgFloat(args)
);
}
float invoke(@NativeType("YGNodeRef") long node, float width, float height);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy